Commit Graph

356 Commits (43820c0370acaf8306880f235364535c1c92c157)

Author SHA1 Message Date
pukkandan 735d865ece Disable Updates 4 years ago
pukkandan 91ebc64068 Change defaults
* Enabled --ignore by default
* Disabled --video-multistreams and --audio-multistreams by default
* Changed default format selection to 'bv*+ba/b' when --audio-multistreams is disabled
* Changed default format sort order to 'res,fps,codec,size,br,asr,proto,ext,has_audio,source,format_id'
* Changed default output template to '%(title)s [%(id)s].%(ext)s'
* Enabled `--list-formats-as-table` by default
4 years ago
pukkandan 29f7c58aaf Update to ytdl-2021.01.03 4 years ago
pukkandan 6623ac349b Added negative switches for many existing options
* The idea is that it should be possible to negate any boolean option by adding a `no-` to the switch

New: `--no-ignore-dynamic-mpd`, `--no-allow-dynamic-mpd`, `--allow-dynamic-mpd`, `--youtube-include-hls-manifest`, `--no-youtube-include-hls-manifest`, `--no-youtube-skip-hls-manifest`, `--no-download`, `--no-download-archive`, `--resize-buffer`, `--part`, `--mtime`, `--no-keep-fragments`, `--no-cookies`, `--no-write-annotations`, `--no-write-info-json`, `--no-write-description`, `--no-write-thumbnail`, `--youtube-include-dash-manifest`, `--post-overwrites`, `--no-keep-video`, `--no-embed-subs`, `--no-embed-thumbnail`, `--no-add-metadata`, `--no-include-ads`, `--no-write-sub`, `--no-write-auto-sub`, `--no-playlist-reverse`, `--no-restrict-filenames`, `--youtube-include-dash-manifest`, `--no-format-sort-force`, `--flat-videos`, `--no-list-formats-as-table`, `--no-sponskrub`, `--no-sponskrub-cut`, `--no-sponskrub-force`

Renamed: `--write-subs`, --no-write-subs`, `--no-write-auto-subs, `--write-auto-subs`. Note that these can still be used without the ending "s"
4 years ago
pukkandan a9e7f54670 Sponskrub integration 4 years ago
pukkandan 76d321f68f Option to present -F output to a more tabular form 4 years ago
pukkandan 2d30509fc8 Add --force-download-archive by by h-h-h-h
Authored-by: h-h-h-h
4 years ago
pukkandan 732044afb2 Add --write-*-link by h-h-h-h
Authored-by: h-h-h-h
4 years ago
pukkandan e51f368c27 Fix for embedding thumbnail in mp3 by pauldubois98
Authored-by: Paul Dubois <pauldubois98@gmail.com>
4 years ago
pukkandan f96bff99cb Relaxed validation for format filters so that any arbitrary field can be used 4 years ago
pukkandan 3f6eaea676 Make Twitch Video ID output from Playlist and VOD extractor same.
Is this sufficient for all cases?
4 years ago
pukkandan 909d24dd6d Better Format Selection
* Added options: --video-multistreams, --no-video-multistreams, --audio-multistreams, --no-audio-multistreams
* New format selectors: best*, worst*, bestvideo*, bestaudio*, worstvideo*, worstaudio*
* Added b,w,v,a as alias for best, worst, video and audio respectively in format selection
* Changed video format sorting to show video only files and video+audio files together.
4 years ago
pukkandan eb8a44336c Better Format Sorting (Squashed)
* Added --format-sort (-S height,filesize)
* Made fields reversible (-S +height)
* Added --format-sort-force, --no-format-sort-force
* Added limit (-S height:720)
* Added codec preference (-S vcodec,acodec)
* Correct handling of preference<-1000

* Rebased to yt-dlc
* Automatically determine missing bitrates
* aext, vext, protocol, acodec, vcodec can now takes priority as string, not number (-S vext:webm)
* Correct handling of None in codec, audio_codec (None means the codec is unknown while 'none' means it doesn't exist)
* Correctly parse filesize (-S filesize:200M)
* Generalized preference calculation

* Rewrote entire code into the class FormatSort
* Correctly handle user input errors
* Combined fields (-S +ext:webm:webm)
* Closest mode (-S filesize~50M)
* Aliases (framerate=fps, br=bitrate etc)

* Documentation
4 years ago
Kyu Yeun Kim 3d54ebd427 [vlive] add support for playlists 4 years ago
Tom-Oliver Heidel 98e248faa4
Merge pull request #106 from diegorodriguezv/fix-tmz
[TMZ] Fix TMZ.com extractor
4 years ago
Unknown 40ec740f7b [yt] temporary fix for automatic captions - disable json3 4 years ago
nixxo 4f618e64f5 [skyit] removed old skyitalia extractor 4 years ago
Remita Amine 12300fa45a [skyit] add support for multiple Sky Italia websites(closes #26629) 4 years ago
Tom-Oliver Heidel b662fc8d20
Merge branch 'master' into gedi 4 years ago
Tom-Oliver Heidel 929576bb9e
Merge pull request #126 from nao20010128nao/master
[instagram] Fix extractor
4 years ago
Tom-Oliver Heidel 7dde463e86
Merge pull request #144 from nixxo/rcs
[Rcs] Add new extractor
4 years ago
Tom-Oliver Heidel e29288d667
Merge pull request #140 from WolfganP/patch-1
ITV BTCC new pages' URL update (articles instead of races)
4 years ago
Tom-Oliver Heidel 9e4043faa9
Merge branch 'master' into rcs 4 years ago
Tom-Oliver Heidel e8dfaa0fd7
Merge pull request #208 from colethedj/ytsearchfix
[youtube] fix: ytsearch not returning results sometimes due to promoted content
4 years ago
Tom-Oliver Heidel 6a03f4f2a8
Merge pull request #261 from B0pol/ina
[ina] support mobile links
4 years ago
Tom-Oliver Heidel 6248b34ad2
Merge pull request #207 from pukkandan/thumbnail-rename
[ffmpeg] Fix for os.rename error when embedding thumbnail to video in a different drive on windows
4 years ago
Tom-Oliver Heidel 8e423ae86a
Merge pull request #224 from kyuyeunk/vlive
[Vlive] Fix playlist handling when downloading a channel
4 years ago
Tom-Oliver Heidel 284ec6f48a
Merge pull request #246 from pukkandan/bitchute-embed
Detect embedded bitchute videos
4 years ago
Tom-Oliver Heidel bccdb02e93
Merge pull request #205 from pukkandan/ffmpeg-use-map
[ffmpeg] Ensure all streams are copied
4 years ago
Tom-Oliver Heidel ef5a4db06c
Merge pull request #245 from pukkandan/merge-main
Merge youtube-dl and fix Youtube Feeds
4 years ago
siikamiika ae6e4e25aa make sure playerOffsetMs is positive 4 years ago
bopol 9b664dc420 [ina] support mobile links 4 years ago
Tom-Oliver Heidel 93201d50aa
Merge pull request #213 from lorpus/master
[bitwave.tv] new extractor
4 years ago
lorpus ae7c01431d [bitwave.tv] add test 4 years ago
pukkandan c78b936af4 bug fix 4 years ago
pukkandan 2fa90513e5 flake8 4 years ago
pukkandan f0c532a430 Fix some improper Youtube URLs
Eg: https://www.youtube.com/watch?list=UUXIkr0SRTnZO4_QpZozvCCA
4 years ago
pukkandan a62cf34298 [spreaker] fix SpreakerShowIE test URL 4 years ago
pukkandan 38d7028407 Updated to release 2020.11.26 4 years ago
pukkandan 02ced43cbf Print youtube's warning message (Closes #256) 4 years ago
pukkandan 3d3dddc948 Update youtube extractor to 2020.11.24 4 years ago
pukkandan 70d5c17b08 Minor changes to make it easier to merge 4 years ago
pukkandan 70c5802b5d Update to release 2020.11.24 except youtube and skyit extractors 4 years ago
pukkandan a93f71ee5e Minor fixes 4 years ago
xypwn f8fb3b8a78
[SouthparkDe] Support for English URLs
Allow downloading English South Park episodes from the southpark.de
4 years ago
pukkandan 036fcf3aa1 Redirect channel home to /video 4 years ago
pukkandan 434406a982 Cleanup YoutubeTabIE _VALID_URL regex 4 years ago
pukkandan 386e1dd908 Better implementation of YoutubeSearchURLIE 4 years ago
pukkandan 7bd4a9b611 Added RDMM back
Eg: https://www.youtube.com/watch?v=MuAGGZNfUkU&list=RDMM
4 years ago
pukkandan ef2f3c7f58 Minor fixes 4 years ago
pukkandan a0566bbf5c Updated to release 2020.11.21.1 4 years ago
pukkandan 3462ffa892 Implemented all Youtube Feeds (ytfav, ytwatchlater, ytsubs, ythistory, ytrec) and SearchURL 4 years ago
pukkandan d3260f40cb Revert changes to vlive 4 years ago
pukkandan 097f1663a9 Detect embedded bitchute videos 4 years ago
pukkandan 8bdd16b499 Merge 'ytdl-org/youtube-dl/master' release 2020.11.19
Old Extractors left behind:
	VLivePlaylistIE
	YoutubeSearchURLIE
	YoutubeShowIE
	YoutubeFavouritesIE

If removing old extractors, make corresponding changes in
	docs/supportedsites.md
	youtube_dlc/extractor/extractors.py

Not merged:
	.github/ISSUE_TEMPLATE/1_broken_site.md
	.github/ISSUE_TEMPLATE/2_site_support_request.md
	.github/ISSUE_TEMPLATE/3_site_feature_request.md
	.github/ISSUE_TEMPLATE/4_bug_report.md
	.github/ISSUE_TEMPLATE/5_feature_request.md
	test/test_all_urls.py
	youtube_dlc/version.py
	Changelog
4 years ago
Diego Fernando Rodríguez Varón d71eb83b05 Extract embedded youtube and twitter videos 4 years ago
Tom-Oliver Heidel 228385340e
Merge pull request #187 from pukkandan/break-on-existing
Stop download after encountering video in archive
4 years ago
Kyu Yeun Kim d02f12107f [Vlive] Fix playlist handling when downloading a channel 4 years ago
lorpus d9c2b0a6de [bitwave.tv] fix build 4 years ago
lorpus 2b547dd782 [bitwave.tv] new extractor 4 years ago
pukkandan ec57f903c9 Don't try to delete file if it doesn't exist 4 years ago
Matthew 9da76d30de code consistency 4 years ago
pukkandan 958804ad4e Ensure all streams are copied when using ffmpeg 4 years ago
pukkandan 55faba7ed7 Fix for os.rename error when embedding thumbnail to video in a different drive 4 years ago
Matthew 0366ae8756 Fix search to not depend on index position for videoRenderer and token items. 4 years ago
Diego Fernando Rodríguez Varón a2044d57ca Merge branch 'master' of https://github.com/blackjack4494/yt-dlc into fix-tmz 4 years ago
pukkandan ea6e0c2b0d Add --break-on-existing by @gergesh
Authored-by: Yoav Shai <gergesh@gmail.com>
4 years ago
pukkandan fe5caa2a7c Handle IndexError 4 years ago
pukkandan 9a68de1217 Pre-check video IDs in the archive before downloading 4 years ago
Unknown 5e6cdcecdd flake8 yt py2 fix 4 years ago
Tom-Oliver Heidel c297a6c661
[skip travis] 4 years ago
Unknown 6bd79800c3 [youtube] python2 fix #168
proposed fix by awei78
4 years ago
nao20010128nao a1d6041497 [instagram] fix thumbnail URL extraction 4 years ago
Tom-Oliver Heidel b28e751688
[skip travis] 4 years ago
Tom-Oliver Heidel 7ee5015a34
Merge pull request #149 from RobinD42/fix-subtitle-fallback
fall-back to the old way to fetch subtitles, if needed
4 years ago
Tom-Oliver Heidel 00c38ef28d
Merge pull request #151 from wlritchi/youtube-playlist-polymer
RFC: youtube: Polymer UI and JSON endpoints for playlists
4 years ago
Tom-Oliver Heidel 34861f1c96
Merge pull request #137 from nsapa/fix_subtitle
Fix issue triggered by tubeup
4 years ago
Unknown 104bfdd24d ytsearchurl 5 pages for around 100 results 4 years ago
Luc Ritchie 73ac856785 [youtube] max_pages=5 for search, unlimited for everything else
Also drop a few leftover methods in search that are no longer used.
4 years ago
Tom-Oliver Heidel d91fdaff03
Merge pull request #79 from rigstot/thisvid
implement ThisVid extractor
4 years ago
Tom-Oliver Heidel c54f4aada5
Merge branch 'master' into youtube-playlist-polymer 4 years ago
Unknown 0f8566e90b manually set limit for youtubesearchurl 4 years ago
Tom-Oliver Heidel 0e0cffb8fe
Merge pull request #147 from ZenulAbidin/master
Fix #93 YoutubePlaylistsIE
4 years ago
rigstot d7aec208f2 implement ThisVid extractor
deobfuscates the video URL using a reverse engineered version of KVS
player's algorithm. This was tested against version 4.0.4, 5.0.1,
5.1.1.4 and 5.2.0.4 of the player and a warning will be issued if the
major version changes.
4 years ago
Tom-Oliver Heidel 69e3c6df5c
Merge pull request #159 from pukkandan/no-http-header
Fix external downloader when there is no http_header
4 years ago
pukkandan 002ea8fe17 Fix external downloader when there is no http_header 4 years ago
Roman Karwacik 8f109ad4ad
[zoom] Fix url parsing for url's containing /share/ and dots 4 years ago
Luc Ritchie 9833e7a015 fix: youtube: Polymer UI and JSON endpoints for playlists
We already had a few copies of Polymer-style pagination handling logic
for certain circumstances, but now we're forced into using it for all
playlists since we can no longer disable Polymer. Refactor the logic to
move it to the parent class for all entry lists (including e.g. search
results, feeds, and list of playlists), and generify a bit to cover the
child classes' use cases.
4 years ago
Robin Dunn 142f2c8e99 fall-back to the old way to fetch subtitles, if needed 4 years ago
Ali Sherief 876f1c17ff
Fix #93 YoutubePlaylistsIE 4 years ago
nixxo 5867a16789 [rcs] fixed embeds detection, fixed tests 4 years ago
nixxo 8924ddc3ee [gedi] fixed Gedi regex 4 years ago
nixxo 595188ec71 [gedi] fixed Embeds tests, again 4 years ago
nixxo 6c1c3e5b85 [gedi] fixed Embeds test 4 years ago
nixxo 902784a2a9 [gedi] added huffingtonpost, added embeds 4 years ago
Diego Fernando Rodríguez Varón fff5071112 [TMZ] Add support for new page structure using JSON-LD 4 years ago
WolfganP 85da4055c0
ITV BTCC new pages' URL update, fix on items count
Fixed playlist_count as the variable was renamed
4 years ago
WolfganP 6857df609b
ITV BTCC new pages' URL update (articles instead of races)
Not my changes, but from @franhp that didn't get merged on yt-dl on time
It supports BTCC new pages' schema from 2019 an on (/articles/ instead of /races/)
4 years ago
Nicolas SAPA 8263104fe4 [youtube] Fix 'liveChatReplayContinuationData' missing 'continuation' key
live_chat_continuation['continuations'][0]['liveChatReplayContinuationData']['continuation'] can not exist.
So catch the KeyError.

Traceback:
$ tubeup 'https://youtube.com/watch?v=JyE9OF03cao'
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dlc version 2020.10.25
[debug] Python version 3.7.3 (CPython) - Linux-5.8.0-0.bpo.2-amd64-x86_64-with-debian-10.6
[debug] exe versions: ffmpeg 3.3.9, ffprobe 3.3.9
[debug] Proxy map: {}
There are no annotations to write.
[download] 452.59KiB at 615.35KiB/s (00:01)ERROR: 'liveChatReplayContinuationData'
Traceback (most recent call last):
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/YoutubeDL.py", line 846, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/YoutubeDL.py", line 901, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/YoutubeDL.py", line 1696, in process_video_result
    self.process_info(new_info)
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/YoutubeDL.py", line 1894, in process_info
    dl(sub_filename, sub_info, subtitle=True)
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/YoutubeDL.py", line 1866, in dl
    return fd.download(name, info, subtitle)
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/downloader/common.py", line 375, in download
    return self.real_download(filename, info_dict)
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/downloader/youtube_live_chat.py", line 85, in real_download
    continuation_id = live_chat_continuation['continuations'][0]['liveChatReplayContinuationData']['continuation']
KeyError: 'liveChatReplayContinuationData'
4 years ago
Nicolas SAPA b860e4cc2f [common] Make sure self.params.get('sleep_interval_subtitles') is int
This can happen if another software is using yt-dlc'API (ie: tubeup).
The stack trace would be:
$ tubeup 'https://youtube.com/watch?v=JyE9OF03cao'
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dlc version 2020.10.25
[debug] Python version 3.7.3 (CPython) - Linux-5.8.0-0.bpo.2-amd64-x86_64-with-debian-10.6
[debug] exe versions: ffmpeg 3.3.9, ffprobe 3.3.9
[debug] Proxy map: {}
There are no annotations to write.
ERROR: '>' not supported between instances of 'NoneType' and 'int'
Traceback (most recent call last):
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/YoutubeDL.py", line 846, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/YoutubeDL.py", line 901, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/YoutubeDL.py", line 1696, in process_video_result
    self.process_info(new_info)
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/YoutubeDL.py", line 1894, in process_info
    dl(sub_filename, sub_info, subtitle=True)
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/YoutubeDL.py", line 1866, in dl
    return fd.download(name, info, subtitle)
  File "/mnt/data2/Backup/Wiki/.local/lib/python3.7/site-packages/youtube_dlc/downloader/common.py", line 367, in download
    if self.params.get('sleep_interval_subtitles') > 0:
TypeError: '>' not supported between instances of 'NoneType' and 'int'
4 years ago