Commit Graph

27 Commits

Author SHA1 Message Date
Cadence Ember 28511bdf96 change order of checks to fix KeyError bug with ytdlp 2023.6 2023-07-01 23:48:38 +12:00
Cadence Ember 82f28cb99d Exclude m3u8 playlist formats 2023-03-13 01:00:19 +13:00
Cadence Ember ecb4f4ccd1 Change http_dash_fragments detection based on yt-dlp translating adaptive streams to fragments
https://matrix.to/#/!vZmGzbsnHuVTLMItyg:cadence.moe/$VHp8D4XgW5jFbA6MhPaI52hZVMt_wpNy9gCSbF6Ot1Y?via=cadence.moe&via=matrix.org&via=envs.net
2023-03-13 00:36:08 +13:00
Cadence Ember 550b633663
Do not extract storyboards into v/a formats 2021-12-08 22:33:48 +13:00
Cadence Ember e3854a6050
Extract fact check notices to second__clarification 2021-11-04 02:01:52 +13:00
Cadence Ember 65bb7a2c4c
Fix recommended extraction when fact check notice 2021-11-04 01:59:50 +13:00
Cadence Ember d2df18ff75
Fix file detection and recommendations 2021-08-16 21:56:32 +12:00
Cadence Ember 50a4b7af45
Add a handler for ytdl search request message 2021-04-28 00:55:29 +12:00
Cadence Ember e3595a455e
Remove "unknown download error" prefix
The reason for the error is known and is returned.
2021-04-28 00:08:07 +12:00
Lomanic 7737ea3ba5
Fix #26 append detailed error message returned by yt-dlp in video extractor
Fixes https://todo.sr.ht/~cadence/tube/26
2021-04-18 15:23:28 +12:00
Cadence Ember 5125bb9461
Don't fail if captions field is missing 2021-04-10 12:50:18 +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
Lomanic 5f47e1a71b
Fix extracting with cookie consent page in EU
Fix #27 use maintained yt-dlp lib instead of youtube-dlc

Because of the following changes in YT, we have to switch to a
maintained library https://github.com/ytdl-org/youtube-dl/issues/28604
While yt-dlp is not fixed today, youtube-dl is fixed in master and as
yt-dlp is quick to merge upstream changes back to their repo, we can
hope the issue will also be fixed there timely.

For requests sent by us directly, we include the cookies.

Ref https://github.com/ytdl-org/youtube-dl/issues/28604
2021-04-03 15:09:58 +13:00
Cadence Ember 268457394f
Split out file cleanup code 2021-01-26 01:05:40 +13:00
Cadence Ember 8e69928756
Captions: Python code cleanup and optimisation 2021-01-20 17:36:50 +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
Cadence Ember 20b133dbb6
Fix manifest 2020-12-18 19:54:06 +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 caee795b7e
Fix extracting empty description 2020-09-24 00:56:16 +12:00
Cadence Ember 52b3ae07b1
Detect being rate limited 2020-09-01 01:17:17 +12:00
Cadence Ember c2a7bb907b
Experimental: filter specific itags for dash video 2020-08-30 01:16:18 +12:00
Cadence Ember c832142b1d Experimental fragment_base_url 2020-08-27 17:22:18 +12:00
Cadence Ember ddf52e6346 Add second__order field 2020-08-25 01:47:56 +12:00
Cadence Ember de3b3db6d0 Re-create resolution and qualityLabel fields 2020-08-25 00:45:57 +12:00
Cadence Ember 932f45c92d Support rating counts and allowRatings 2020-08-21 14:42:36 +12:00
Cadence Ember 40759efb03
Refactor everything to separate files 2020-08-14 02:20:11 +12:00