[sponskrub] Run before embedding thumbnail
Workaround for https://github.com/faissaloo/SponSkrub/issues/29
Closes https://github.com/yt-dlp/yt-dlp/issues/204
pukkandan [Tue, 23 Mar 2021 19:45:53 +0000 (01:15 +0530)]
Ability to load playlist infojson
* If `--no-clean-infojson` is given, the video ids are saved/loaded from in the infojson along with their playlist index
* If a video entry that was not saved is requested, we fallback to using `webpage_url` to re-extract the entries
https://github.com/ytdl-org/youtube-dl/commit/7e79ba7dd6e6649dd2ce3a74004b2044f2182881
[vimeo:album] Fix extraction for albums with number of videos multiple to page size
Matthew [Sun, 21 Mar 2021 21:23:34 +0000 (21:23 +0000)]
[youtube] Show if video is `private`, `unlisted` etc in new field `availability` (#188) Closes: #185, https://github.com/ytdl-org/youtube-dl/issues/25631
Authored by: colethedj, pukkandan
2ShedsJackson [Sat, 20 Mar 2021 10:41:11 +0000 (03:41 -0700)]
[amcnetworks] Fix extractor (#179)
* Prefer use of manifest based on `releasePid` since the one based on `videoPid` may have Fairplay
* Additional thumbnail images were added
* Don't add `season_number` and `series` to `title`
* `series` is now set to `None` rather than "_" when empty
* fix bug with age limit
pukkandan [Fri, 19 Mar 2021 12:12:29 +0000 (17:42 +0530)]
Embed video URL metadata inside MP4 (#173)
`mp4` has `comment` and `synopsis`; the synopsis is expected to have the long description
So we save the `webpage_url` to `comment` and `description` to `synopsis`
pukkandan [Sun, 14 Mar 2021 23:02:13 +0000 (04:32 +0530)]
Split video by chapters (#158)
* New options `--split-chapters` and `--no-split-chapters`
* The output/path of the split files can be given using the key `chapter`
* Additional keys `section_title`, `section_number`, `section_start`, `section_end` are available in the output template
* Alias `--split-tracks` for parity with animelover/youtube-dl
* `--sponskrub-cut` and `--split-chapter` cannot work together
Rewritten from the implementation by: femaref and Wattux
https://github.com/Wattux/youtube-dl/tree/split-at-timestamps
https://github.com/ytdl-org/youtube-dl/pull/25005
https://github.com/femaref/youtube-dl/tree/split-track
Matthew [Sun, 14 Mar 2021 22:41:11 +0000 (22:41 +0000)]
[Youtube] Rewrite comment extraction (#167)
Closes #121
TODO:
* Add an option for the user to specify newest/popular and max number of comments
* Refactor the download code and generalize with TabIE
* Parse time_text to timestamp
pukkandan [Tue, 9 Mar 2021 02:17:21 +0000 (07:47 +0530)]
Refactor (See desc)
* Create `FFmpegPostProcessor.real_run_ffmpeg` that can accept multiple input/output files along with switches for each
* Rewrite `cli_configuration_args` and related functions
* Create `YoutubeDL._ensure_dir_exists` - this was previously defined in multiple places
shirt [Sat, 13 Mar 2021 04:46:58 +0000 (23:46 -0500)]
Native concurrent downloading of fragments (#166)
* Option `--concurrent-fragments` (`-N`) to set the number of threads
Related: #165
Known issues:
* When receiving Ctrl+C, the process will exit only after finishing the currently downloading fragments
* The download progress shows the speed of only one thread
pukkandan [Wed, 10 Mar 2021 15:26:24 +0000 (20:56 +0530)]
More improvements to HLS/DASH external downloader code
* Fix error when there is no `protocol` in `info_dict`
* Move HLS byte range detection to `Aria2cFD` so that the download will fall back to the native downloader instead of ffmpeg
* Fix bug with getting no fragments in DASH
* Convert `check_results` in `can_download` to a generator
pukkandan [Sun, 7 Mar 2021 12:29:44 +0000 (17:59 +0530)]
[bilibili] Change `Accept` header (Closes #145)
This is a temporary fix. Ideally we should find a more reasonable accept string that just "*/*"
Fixes: https://github.com/ytdl-org/youtube-dl/issues/28363 https://github.com/ytdl-org/youtube-dl/issues/28341
Thanks to animelover1984 for identifying the problem
Matthew [Wed, 3 Mar 2021 10:32:40 +0000 (10:32 +0000)]
[YouTube] Use new browse API for continuation page extraction. (#131)
Known issues (these issues existed in previous API as well)
* Mix playlists only give 1 page (25 vids)
* Trending only gives 1 video
* History gives 5 pages (200 vids)