1
0
mirror of https://git.sr.ht/~cadence/NewLeaf synced 2024-11-23 16:17:29 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
Cadence Ember
97b7661cc7 Fix feed channel IDs not starting with UC 2023-10-18 23:18:52 +13:00
b8499d3626 Fix ytInitialData extraction with new EU tracking consent cookie
Related yt-dlp fix: https://github.com/yt-dlp/yt-dlp/pull/7774
2023-08-27 22:18:04 +12:00
8a13868db7
Fix recommended videos extraction on some remaining IDs
Example: https://www.youtube.com/watch?v=-_GDl6cBebQ
2e9a445bc3/yt_dlp/extractor/common.py (L816)

Amends f22decbb
2021-11-12 17:16:14 +13:00
Cadence Ember
e3854a6050
Extract fact check notices to second__clarification 2021-11-04 02:01:52 +13:00
f22decbb74
Fix recommended videos extraction on IDs starting with - and _
Let's just leverage yt_dlp instead of rolling our own algorithms and fix
this kind of issue (not finding yt_dlp dump file for a given video) once
and for all

Example videos:
* https://www.youtube.com/watch?v=-q78QXpSL2M
* https://www.youtube.com/watch?v=_4SKG5uUEqs
2021-11-03 22:52:32 +13:00
Cadence Ember
d2df18ff75
Fix file detection and recommendations 2021-08-16 21:56:32 +12:00
3f57d50893
Retrieve the first 20 comments of a video on /api/v1/comments/:videoid
Got some inspiration from https://github.com/nlitsme/youtube_tool (for the x-youtube-client-X
headers).
This is not a complete reimplementation of Invidious API as continuation is not implemented
(to retrieve more than the first 20 comments and comments replies), likes and replies count
are also missing.
2021-07-02 00:53:05 +12:00
Cadence Ember
1ea86101fd
Support premiere videos on channel 2021-07-01 23:42:53 +12:00
7d3b79b1cd
Change cookies to skip EU cookie consent page
See https://github.com/benbusby/whoogle-search/issues/311 for some
context.
We're now implementing
a726009987/youtube_dl/extractor/youtube.py (L263-L264)
2021-05-15 22:29:44 +12:00
Cadence Ember
1d52fca3a0
Support auto-generated captions
The caption extraction is now entirely in our own hands.
2021-04-05 01:23:54 +12:00
Cadence Ember
fe04a4dbd6
Fix temporary file removal again 2021-04-03 14:57:51 +13:00
Cadence Ember
0f877b06bc
Fix temporary file removal 2021-03-28 23:58:54 +13:00
Cadence Ember
268457394f
Split out file cleanup code 2021-01-26 01:05:40 +13:00
Cadence Ember
b454ebd6e5
Remove origin from caption URL 2021-01-20 23:00:26 +13:00
bopol
6709aa30c2
Implement captions
Automatic subtitles are not supported, because youtube_dlc does not
provide them.
2021-01-20 17:36:49 +13:00
bopol
6cc921c2dc
fix channel extraction when header is not available 2021-01-17 14:30:34 +13:00
Cadence Ember
8a0fb5cf21
Support originals with no view count 2021-01-01 17:28:38 +13:00
Cadence Ember
20b133dbb6
Fix manifest 2020-12-18 19:54:06 +13:00
Cadence Ember
e95d814709
Fix channel extraction when subscribers not available 2020-12-09 16:53:22 +13:00
Cadence Ember
554cd8cc3a
Improve ytInitialData extraction 2020-12-03 17:00:06 +13:00
Cadence Ember
ba88c53857
Fix search; use youtube-dlc 2020-12-03 16:32:31 +13:00
Cadence Ember
861f441f9f
Fix search 2020-10-24 00:36:20 +13:00
Cadence Ember
ad1f8df7cb
Correctly handle videos with 0 views 2020-10-15 00:32:06 +13:00
Cadence Ember
cc20223465
Remove useless print 2020-08-31 03:12:01 +12:00
Cadence Ember
0a6a07838d
Add publishedText to /channels/latest 2020-08-31 02:26:46 +12:00
Cadence Ember
f389bc1f48 Allow uppercase in URL domain 2020-08-24 22:38:01 +12:00
Cadence Ember
40759efb03
Refactor everything to separate files 2020-08-14 02:20:11 +12:00