Commit Graph

371 Commits (6f2287cb18cbfb27518f068d868fa9390fee78ad)

Author SHA1 Message Date
coletdjnz 7666b93604
[extractor/youtube] Define strict uploader metadata mapping ()
New mapping:
```
channel -> channel name
channel_id -> UCID
channel_url -> UCID channel url

uploader -> channel name (same as channel field)
uploader_id -> @handle
uploader_url -> @handle channel url 
```

Authored by: coletdjnz
pukkandan c6786ff3ba
[extractor/youtube] Revert default formats to `https`
coletdjnz 141a8dff98
[extractor/youtube] Fix comment loop detection for pinned comments ()
Pinned comments may repeat a second time - this is expected.

Fixes https://github.com/yt-dlp/yt-dlp/issues/6712

Authored by: coletdjnz
Nicholas Defranco 071670cbea
[extractor/youtube] Fix parsing `comment_count` ()
Closes 
Authored by: nick-cd
coletdjnz 607510b9f2
[extractor/youtube] Handle incomplete initial data from watch page ()
Authored by: coletdjnz
pukkandan e389d172b6
Fix 2a23d92d9e
Closes 
pukkandan 2a23d92d9e
[extractor/youtube] Construct fragment list lazily
Building fragment list for all formats take significant time for large videos
pukkandan 86cb922118
[extractor/youtube] Add extractor-arg `include_duplicate_formats`
Lesmiscore c795c39f27
[extractor/youtube] Add client name to `format_note` when `-v` ()
Authored by: Lesmiscore, pukkandan
pukkandan c9abebb851
[extractor/youtube] Bypass throttling for `-f17`
and related cleanup

Thanks @AudricV for the finding
pukkandan 392389b7df
[cleanup] Misc
mushbite 22ccd5420b
[extractor/rutube] Extract chapters from description ()
Authored by: mushbite
coletdjnz 7f51861b18
[extractor/youtube] Detect and break on looping comments ()
Fixes https://github.com/yt-dlp/yt-dlp/issues/6290

Authored by: coletdjnz
pukkandan 5b28cef72d
[cleanup] Misc
pukkandan 31e183557f
[extractor/youtube] Extract channel `view_count` when `/about` tab is passed
pukkandan f34804b2f9
[extractor/youtube] Fix 5038f6d713
* [fragment] Fix `request_data`
* [youtube] Don't use POST for now. It may be easier to break in future

Authored by: bashonly, coletdjnz
pukkandan 5038f6d713
[extractor/youtube] Construct dash formats with `range` query
Closes 
pukkandan a538772969
[cleanup] Misc
Closes 
bashonly c61cf091a5
[extractor/youtube] `uploader_id` includes `@` with handle
Authored by: bashonly
bashonly 149eb0bbf3
[extractor/youtube] Fix `uploader_id` extraction
Closes 
Authored by: bashonly
Bruno Guerreiro 78a78fa74d
[extractor/youtube] Add hyperpipe instances ()
Authored by: Generator
Roland Hieber 05799a48c7
[extractor/youtube] Update invidious and piped instances ()
Authored by: rohieb
Simon Sawicki 6839ae1f6d
[utils] `traverse_obj`: Fix more bugs
and cleanup uses of `default=[]`

Continued from b1bde57bef
pukkandan b032ff0f03
[extractor/youtube] Handle `consent.youtube`
pukkandan dad2210c0c
[extractor/youtube] Support `/live/` URL
mzhou 253ac4ba6a
[extractor/youtube] Retry manifest refresh for live-from-start ()
Avoids ending download early when live stream is temporarily offline.
Best used with somewhat large `--retry-sleep extractor:` and `--extractor-retries`

Authored by: mzhou
pukkandan 08e29b9f1f
[cleanup] Misc
Closes , closes 
pukkandan 9bb856998b
[extractor/youtube] Extract DRC formats
Matthew c733555106
[extractor/youtube:tab] Extract metadata from channel items ()
Authored by: coletdjnz
pukkandan 71eb82d1b2
[extractor/youtube] Subtitles cannot be translated to `und`
Closes 
Bnyro bc87dac75f
[extractor/youtube] Add `piped.video` ()
Closes 
Authored by: Bnyro
pukkandan 9f14daf22b
[extractor] Deprecate `_sort_formats`
pukkandan 6368e2e639
[cleanup] Misc
Closes 
pukkandan a4894d3e25
[extractor/youtube] Consider language in format de-duplication
pukkandan 171a31dbe8
[extractor] Add a way to distinguish IEs that returns only videos
pukkandan a8c754cc00
[extractor/youtube] Fix bug in handling of music URLs
Bug in bd7e919a75
Closes 
pukkandan 08270da5c3
[extractor/youtube] Fix `ytuser:`
pukkandan bd7e919a75
[extractor/youtube:tab] Improvements to tab handling ()
* Better handling of direct channel URLs - See https://github.com/yt-dlp/yt-dlp/pull/5439#issuecomment-1309322019
* Prioritize tab id from URL slug - Closes 
* Add metadata for the wrapping playlist
* Simplify redirect for music playlists
Matthew e72e48c53f
[extractor/youtube] Ignore incomplete data error for comment replies ()
When --ignore-errors is used.
Closes https://github.com/yt-dlp/yt-dlp/issues/4669
Authored by: coletdjnz
Matthew 0cf643b234
[extractor/youtube] Differentiate between no and disabled comments ()
`comments` and `comment_count` will be set to None, as opposed to 
an empty list and 0, respectively.

Fixes https://github.com/yt-dlp/yt-dlp/issues/5068

Authored by: coletdjnz, pukkandan
Matthew 4dc23a8051
[extractor/youtube:tab] Fix video metadata from tabs ()
Closes 
Authored by: coletdjnz
Matthew 86973308cd
[extractor/youtube:tab] Update tab handling for redesign ()
Closes , , 
Authored by: coletdjnz, pukkandan
Bruno Guerreiro e14ea7fbd9
[extractor/youtube] Update piped instances ()
Closes 
Authored by: Generator
Matthew 6141346d18
[extractor/youtube] Update playlist metadata extraction for new layout ()
Fixes https://github.com/yt-dlp/yt-dlp/issues/5373

Authored by: coletdjnz
pukkandan 2e30b46fe4
[extractor/youtube] Improve chapter parsing from description
Closes 
nosoop 9da6612b0f
[extractor/youtube] Fix `duration` for premieres ()
Closes 
Authored by: nosoop
coletdjnz e63faa101c
[extractor/youtube] Fix `live_status` extraction for playlist videos
Regression in 867c66ff97

Authored by: coletdjnz
bsun0000 5318156f1c
[extractor/youtube] Mark videos as fully watched
Closes 
Authored by: bsun0000
pukkandan d5d1df8afd
[cleanup Misc
Closes 
pukkandan 6678a4f0b3
[extractor/youtube] Fix live_status
Bug in 4d37720a0c