Samantaz Fox
325561e755
Channel: parse subscriber count and channel banner ( #4785 )
...
This PR adds support for parsing the newer channel header format
(banner + subscription parsing)
Before this change:
* 0 subscribers
* No banner image
After this change:
* Example with Mr Breast channel: 299M
* Image banner is visible
Closes issue 4783
2024-07-21 17:24:09 +02:00
Samantaz Fox
bad92093bf
Channels: Add sort options to streams ( #4224 )
2024-07-10 22:28:22 +02:00
ChunkyProgrammer
911dad6935
Channel: parse subscriber count and channel banner
2024-07-09 14:43:14 -04:00
src-tinkerer
72fe8af850
Merge branch 'master' into stream-sort
2024-03-26 12:19:45 +00:00
ChunkyProgrammer
0aaa3e6a08
API: Parse channel's tags
2024-03-11 13:31:14 -04:00
Samantaz Fox
07fe648a9c
Remove anti-captcha ( #4277 )
2023-12-06 18:29:16 +01:00
Samantaz Fox
37c2f5caed
Misc: Use #splat method for macro expressions ( #4242 )
2023-12-06 18:22:50 +01:00
src-tinkerer
5f2b43d653
Remove unecessary if condition in videos.cr
2023-11-25 00:48:27 +03:30
src-tinkerer
6251d8d43f
Rename a variable in videos.cr
2023-11-25 00:46:11 +03:30
src-tinkerer
162b89d942
Fix format in videos.cr
2023-11-23 14:44:37 +03:30
src-tinkerer
0d63ad5a7f
Use a single function for fetching channel contents
2023-11-22 14:52:17 +03:30
Samantaz Fox
3a5d408602
Remove leftover functions/specs used by the anti-captcha job
2023-11-20 17:40:31 +01:00
src-tinkerer
63e5d72466
Remove unused function produce_channel_livestream_url
2023-11-20 15:50:59 +03:30
syeopite
ed8b84ed15
Replace more * in macro with #splat
2023-11-08 00:49:37 -08:00
syeopite
ab4c0a1d3c
Fetch channel info from home tab instead of about
2023-11-07 23:53:14 -08:00
syeopite
c31908a011
Update params protobuf for channel about tab
2023-11-07 22:19:56 -08:00
src-tinkerer
b0df3774db
Add sort options to streams
2023-11-01 21:56:25 +03:30
ChunkyProgrammer
f55b96a53b
Always craft Community Post params
2023-09-18 20:10:41 -04:00
ChunkyProgrammer
734f1b7764
Simplify resolveUrl api call
...
Co-Authored-By: Samantaz Fox <coding@samantaz.fr >
2023-09-18 20:10:41 -04:00
ChunkyProgrammer
e3c365f3d6
Add support for post page
2023-09-18 20:10:41 -04:00
Samantaz Fox
d956b1826e
Community: Parse quiz attachments ( #3978 )
2023-07-20 08:16:10 +02:00
Samantaz Fox
c1a69e4a4a
Channels: Use innertube to fetch the community tab
2023-07-18 00:29:25 +02:00
ChunkyProgrammer
70145cba31
Community: Parse Quiz attachments
2023-07-15 06:41:03 -07:00
ChunkyProgrammer
f2fa3da9d2
Add support for releases and podcasts tabs
2023-07-14 16:15:20 -07:00
Samantaz Fox
16b8b6034f
Channels: Use new ctoken value for "sort by oldest"
2023-06-21 21:41:53 +02:00
Samantaz Fox
e10f6b6626
Comments: Move 'template_youtube' function to own file + module
2023-05-25 22:53:53 +02:00
Samantaz Fox
10fee9da61
Community: Fix live video + parse playlist attachments ( #3767 )
2023-05-08 15:42:06 +02:00
Samantaz Fox
c385a944e6
Subscriptions: Fix casing of XML tag names
2023-05-08 13:10:18 +02:00
Samantaz Fox
ce1fb8d08c
Use XML.parse instead of XML.parse_html
...
Due to recent changes to libxml2 (between 2.9.14 and 2.10.4,
See https://gitlab.gnome.org/GNOME/libxml2/-/issues/508 ), the
HTML parser doesn't take into account the namespaces (xmlns).
Because HTML shouldn't contain namespaces anyway, there is no
reason for use to keep using it. But switching to the XML
parser means that we have to pass the namespaces to every
single 'xpath_node(s)' method for it to be able to properly
navigate the XML structure.
2023-05-08 01:05:48 +02:00
ChunkyProgrammer
2d5145614b
Fix unknown type attachment
...
Co-authored-by: Samantaz Fox <coding@samantaz.fr >
2023-05-02 21:10:57 -04:00
chunky programmer
f298e225a1
fix live video attachments, parse playlists
2023-04-30 18:55:02 -04:00
chunky programmer
5517a4eadb
fix fetching community continuations
2023-04-22 09:13:04 -04:00
ChunkyProgrammer
dc929be198
Merge branch 'master' into fix-shorts
2023-04-02 16:42:46 -04:00
Emilien Devos
e0600f4553
quick fix for channel videos page
2023-03-31 22:16:01 +02:00
ChunkyProgrammer
5767344746
Fix parsing shorts on channel page
2023-03-22 09:56:22 -04:00
Samantaz Fox
b66a5c40a9
Community: Restore thumbnail qualities array
2023-03-15 22:37:07 +01:00
ChunkyProgrammer
4a14713462
use dig, create private image quality constant
...
Co-Authored-By: Samantaz Fox <coding@samantaz.fr >
2023-03-01 23:56:23 -05:00
ChunkyProgrammer
4731480821
parse votes as number
...
Co-Authored-By: syeopite <70992037+syeopite@users.noreply.github.com >
2023-02-14 23:03:25 -05:00
ChunkyProgrammer
aecbafbc7b
Community: parse replyCount
2023-02-14 22:52:59 -05:00
ChunkyProgrammer
8384fa94c2
Community: Parse polls
2023-02-14 22:48:37 -05:00
ChunkyProgrammer
785fe52674
API: Parse multiimage community posts
2023-01-29 10:28:42 -05:00
ChunkyProgrammer
c2957dbce4
fix displaying author name #1612
2023-01-24 23:21:09 -05:00
Samantaz Fox
05258d56bd
Add support for the new channel layout - part 2 ( #3419 )
2023-01-10 21:16:12 +01:00
Samantaz Fox
a37522a03d
Implement workaround for broken shorts objects
2023-01-08 13:50:52 +01:00
Émilien Devos
98301a2237
Add ability to disable all user notifications ( #3473 )
2023-01-05 23:08:05 +00:00
Samantaz Fox
f9eb839c7a
channel: remove dead playlists code
2022-12-22 17:26:32 +01:00
Samantaz Fox
4e3a930626
frontend: Add support for the "featured channels" page
2022-12-22 16:13:35 +01:00
Samantaz Fox
6c9754e663
frontend: Add support for shorts and livestreams
2022-12-22 16:13:34 +01:00
Samantaz Fox
52ef89f02d
channel: Add support for shorts and livestreams (backend only)
2022-12-22 16:13:34 +01:00
Samantaz Fox
2903e896ec
channel: use YT API + extractors to fetch videos
2022-12-22 16:13:34 +01:00