Commit graph

4244 commits

Author SHA1 Message Date
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
Samantaz Fox c5ee2bfc0f
channel: use YT API to fetch playlist items 2022-12-22 16:13:34 +01:00
Samantaz Fox 8e8ca4fcc5
Prepare to create a 'Channel' module 2022-12-22 16:13:34 +01:00
Samantaz Fox ce7db8d2cb
extractors: Add continuation token parser 2022-12-22 16:13:26 +01:00
Samantaz Fox bdc51cd20f
extractors: separate 'extract' and 'parse' logic 2022-12-04 18:24:39 +01:00
Samantaz Fox 9588fcb5d1
frontend: remove paging on channel videos 2022-12-04 15:31:50 +01:00
Samantaz Fox fbcce57ce2
channel: use extractor utils to parse tabs (+ code cleaning) 2022-12-02 19:56:52 +01:00
Samantaz Fox 99bf519781
shards: Bump protodec to v0.1.5 2022-12-02 19:56:52 +01:00
dev 1f6c234259 added tini for proper signal forwarding 2022-12-01 11:05:47 +00:00
Samantaz Fox 5160d8bae3
Fix values for dark_mode in config.example.yml (#3426) 2022-11-22 18:41:39 +01:00
PrivacyDevel 4fc5d43374
Update config.example.yml 2022-11-22 17:22:46 +00:00
PrivacyDevel 9656067296
Add "light" and "auto" as accepted values for dark_mode 2022-11-22 17:08:32 +00:00
PrivacyDevel 9eb2ad367e
Correct config.example.yml dark_mode comment 2022-11-22 15:51:14 +00:00
Samantaz Fox 09b9b758de
Add param 8AEB for getting youtube stories (#3258) 2022-11-21 21:29:49 +01:00
Samantaz Fox a46404bf78
CI: Use Crystal 1.6.2 in test matrix (#3400) 2022-11-21 21:17:28 +01:00
Samantaz Fox c142703453
Fix parsing error in search results (#3418) 2022-11-21 21:12:39 +01:00
Samantaz Fox f44506b7e0
yt api: bump web client version 2022-11-20 23:48:59 +01:00
Samantaz Fox afc0ec3c30
search: Fix short text parsing 2022-11-20 23:28:21 +01:00
Samantaz Fox 1bb8f2815d
CI: Use Crystal 1.6.2 in test matrix 2022-11-17 22:41:51 +00:00
Samantaz Fox 516efd2df3
Cleanup videos (#3238) 2022-11-17 01:03:23 +01:00
Samantaz Fox 47cc26cb3c
videos: fix 'Arithmetic overflow' error 2022-11-16 18:25:32 +01:00
Samantaz Fox cc5c83333f
videos: improve fetching of streaming data 2022-11-13 14:40:00 +01:00
Samantaz Fox 09942dee66
Add support for the new channel layout - part 1 (#3374) 2022-11-02 22:05:48 +01:00
Samantaz Fox 9da1827e95
Dirty fix to get back the channel videos 2022-11-02 01:03:39 +01:00
Samantaz Fox 758b7df400
dockerfile: Pass '-Ddisable_quic' to 'crystal build' (#3376)
+ use alpine 3.16 as a base like the crystal team
2022-11-01 17:34:26 +00:00
Samantaz Fox 46a63e6150
extractors: Add support for reelItemRenderer 2022-11-01 17:48:43 +01:00
Samantaz Fox f267394bbe
extractors: Add support for richGridRenderer 2022-11-01 17:48:35 +01:00
Samantaz Fox 2acff70811
videos: handle different JSON structs being present in cache 2022-10-31 20:30:35 +01:00
Samantaz Fox db91d3af66
videos: Fix some bugs 2022-10-31 20:30:35 +01:00
Samantaz Fox 83795c245a
videos: Support the new like button's structure 2022-10-31 20:30:30 +01:00
Samantaz Fox d659a451d6
videos: remove unused 'VideoRedirect' exception 2022-10-31 20:09:04 +01:00
Samantaz Fox 87a5d70062
videos: move API's JSON structure to a dedicated module 2022-10-31 20:09:04 +01:00
Samantaz Fox ae03ed7bf7
videos: move player/next parsing code to a dedicated file 2022-10-31 20:09:04 +01:00
Samantaz Fox e23ceb6ae9
videos: Fix extraction code according to tests 2022-10-31 20:09:04 +01:00
Samantaz Fox 33150f5de3
spec: Add test cases for regular videos extraction 2022-10-31 20:09:04 +01:00
Samantaz Fox 7df0cfcbed
Videos: fix 'views' parsing for livestreams 2022-10-31 20:09:04 +01:00
Samantaz Fox 907ddfa06a
spec: Add tests for recent changes 2022-10-31 20:09:04 +01:00
Samantaz Fox 6aaea7fafa
Videos: parse data during first fetching
There will be less data to be stores in the DB cache
2022-10-31 20:09:04 +01:00
Samantaz Fox cd03fa06ae
videos: move 'Caption' and associated global/functions to a separate file 2022-10-31 20:09:04 +01:00
Samantaz Fox 9baaef412f
videos: move 'VideoPreferences' and its associated function to a separate file
This will require some rework later.
2022-10-31 20:09:04 +01:00
Samantaz Fox 88141c459c
videos: move formats structure to a separate file/module 2022-10-31 20:09:04 +01:00
Samantaz Fox 6250039405
videos: move regions list to a dedicated file 2022-10-31 20:09:03 +01:00
Samantaz Fox 84cd4d6a5b
Makefile: disable QUIC by default (#3367) 2022-10-30 12:58:23 +00:00
Samantaz Fox a1c6159e6f
Translations update from Hosted Weblate (#3365) 2022-10-30 13:55:53 +01:00
Samantaz Fox b7555343a0
Add missing languages to the locales list (#3369) 2022-10-30 13:55:04 +01:00
Samantaz Fox 4055c3bec8
i18n: Add Bengali, Catalan, Basque, Sinhala and Slovak
Add languages even if translation is <= 25%
2022-10-30 13:46:28 +01:00
Samantaz Fox c5303d55e5
Update CI (#3368) 2022-10-30 13:26:53 +01:00
Samantaz Fox 8096c2d81d
CI: bump install-crystal action to v1.7.0 2022-10-30 13:18:50 +01:00
Samantaz Fox 4e1f5c8357
CI: bump Crystal versions 2022-10-30 13:18:23 +01:00