Commit Graph

339 Commits (8c1fead3ce89dbc2bf32cecf7d2274fda186b078)

Author SHA1 Message Date
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
The Hatsune Daishi 987d2e079a
[instagram] Fix extractor 4 years ago
nixxo 8abd647c59 [mailru] removed escaped braces, use urljoin, added tests 4 years ago
Tom-Oliver Heidel adb118da26
Merge pull request #118 from insaneracist/youtube-music-playlist
[youtube] fix: Youtube Music playlists
4 years ago
Tom-Oliver Heidel 06a8be981b
Merge pull request #117 from nixxo/la7-proto-fix
[la7] fix missing protocol
4 years ago
Tom-Oliver Heidel f406ab6a14
Merge pull request #112 from insaneracist/youtube-mix-fix
[youtube] fix: mix playlist title
4 years ago
Tom-Oliver Heidel 206de9b233
Merge pull request #101 from exwm/vlive-fix
[vlive] fix extractor for revamped website
4 years ago
Tom-Oliver Heidel 123049d1ce
Merge pull request #120 from pukkandan/no-embed-livechat
Don't try to embed/convert json subtitles generated by youtube livechat
4 years ago
Tom-Oliver Heidel f8ddb38977
Merge pull request #108 from insaneracist/ytdl-pr/24751-zoomus
[zoom] new extractor
4 years ago
pukkandan 503d4a44f6 Don't try to embed/convert json subtitles generated by youtube livechat 4 years ago
insaneracist 366a7a4753 [zoom] rename extractor from zoomus 4 years ago
insaneracist 7f4f0b21c2 [youtube] added Youtube Music channel info 4 years ago
insaneracist 659ddd7f70 [youtube] fix: Youtube Music playlists 4 years ago
nixxo ab36800b1f [la7] fix missing protocol 4 years ago
exwm 9c8bc84fd2 [vlive] add: improved video extractor errors 4 years ago
exwm c434e9f504 [vlive] fix: missing expected types for try_get 4 years ago
exwm be5d6c213c [vlive] refactor: delete dead function code 4 years ago
insaneracist 15f6397c19 [youtube] get mix playlist title from ytInitialData 4 years ago
Tom-Oliver Heidel 7166f47b18
Merge pull request #57 from insaneracist/youtube-mix-fix
[youtube] fix: extract mix playlist ids from ytInitialData (#33)
4 years ago
Tom-Oliver Heidel 8934f61717
Merge pull request #68 from peet1993/master
[Youtube] Fixed problem with new youtube player
4 years ago
Tom-Oliver Heidel 4481cfb570
Merge pull request #82 from nixxo/skyitalia
[skyitalia] added geoblock msg
4 years ago
Roman Sebastian Karwacik b11a88fc24 [zoomus] Adjusted url regex, now allowing for arbitrary long ids, dont throw warning if password field not found 4 years ago
Roman Sebastian Karwacik aa13f124a5 [zoomus] Adjusted referer header, fixed formating for flake8 4 years ago
Roman Sebastian Karwacik 81acad1279 [zoomus] Added support for password protected videos 4 years ago
Roman Sebastian Karwacik abd273e17b [zoomus] coding conventions 4 years ago
Roman Sebastian Karwacik 55cd2999ed [zoomus] Cleanup 4 years ago
Roman Sebastian Karwacik ef6be42014 [zoomus] Allow for more urls 4 years ago
Roman Sebastian Karwacik 3f0852e35f [zoomus] Add new extractor 4 years ago
exwm 130599af94 [vlive] fix: raise login required error on vlive+ 4 years ago
exwm 73cc1b9125 [vlive] fix: live video extractor
* use live video info endpoint from v3 api
4 years ago
exwm 3417362556 [vlive] fix: vod logic wrongly used for live video 4 years ago
exwm 8ba3ad0a48 [vlive] fix: fetching live video not yet uploaded for replay 4 years ago
exwm 1923b146b3 [vlive] add: support new channel url format 4 years ago
exwm 5dcfd2508a [vlive] add: support video post urls 4 years ago
exwm 0536e60b48 [vlive] fix: extractor tests for VODs 4 years ago
insaneracist 5c15c1a0d7 python2: don't use str, use compat_str 4 years ago
Diego Fernando Rodríguez Varón 60351178a5 [TMZ] Fix TMZ.com extractor 4 years ago
Unknown 31108ce946 [core] sleep-subtitles fix 4 years ago
Unknown ae306df7e0 [viki] new way of obtaining subtitles. 4 years ago
nixxo e61f360157 [skyitalia] added geoblock msg 4 years ago
insaneracist 712799bd30 Merge branch 'master' into youtube-mix-fix 4 years ago
Unknown 7fb5f2f29d [skip travis] templates and urls 4 years ago
Tom-Oliver Heidel 200959ec76
Merge pull request #61 from merval/merval/comcast_sso_fix
Added Comcast_SSO fix
4 years ago
Tom-Oliver Heidel 4f51913680
Merge pull request #65 from TobiX/fix-netzkino
[Netzkino] Only use video id to find metadata
4 years ago
Tom-Oliver Heidel b8c6e56725
Merge pull request #55 from insaneracist/youtube-music-metadata-fix
[youtube] fix: extract artist metadata from ytInitialData (#49)
4 years ago
Tom-Oliver Heidel 2c01ee48e0
Merge pull request #47 from insaneracist/newgrounds-fix
[newgrounds] fix: video download
4 years ago
Tom-Oliver Heidel 0ae154c4b4
Merge pull request #51 from B0pol/nitter
[nitter] Add new extractor
4 years ago
Tom-Oliver Heidel e2d5e9a361
Merge pull request #30 from merval/merval/brightcove_drm
Added DRM logic to brightcove
4 years ago
Tom-Oliver Heidel 12ae240c36
Merge pull request #19 from nixxo/patch-1
[mtv] Fix a missing match_id
4 years ago
Tom-Oliver Heidel 76c2df5f0a
Merge pull request #40 from nixxo/skyitalia
[skyitalia] Add new extractor
4 years ago
Tom-Oliver Heidel 90c3f039e2
Merge pull request #45 from insaneracist/xtube-fix
[xtube] fix extractor (#17)
4 years ago
Unknown fa57af1ef3 flake8. added sha256 check to updater. 4 years ago
Unknown 9f448fcb26 [core/yt_live_chat] live_chat is back. dl() new parameter 4 years ago
Peter Oettig 59c5fa91c1 Fixed problem with new youtube player, leading to "Unable to extract video data". 4 years ago
Tobias Gruetzmacher 7db1d2a69e Only use video id to find metadata 4 years ago
Dan Walker 3086aa194f Added Comcast_SSO fix
This fix had been proposed on yt-dl for a lengthy period of time but was never merged. It has been thoroughly tested but a large section of the community.
4 years ago
insaneracist 5b0a6a8010 [youtube] fix: extract mix playlist ids from ytInitialData (#33) 4 years ago
insaneracist 9322f1162d [youtube] fix: extract artist metadata from ytInitialData (#49) 4 years ago
nixxo 920ad13673 [skyitalia] fixed coding conventions 4 years ago
nixxo 508649e6f5 [rcs] fixed coding conventions 4 years ago
bopol bb8a73a0e2 [nitter] Add new extractor 4 years ago
Unknown 4932ba4aec [yt_live_chat] deactivate for now. 4 years ago
Unknown 0704d2224b [core] be able to hand over id and title using url_result 4 years ago
insaneracist 139e10ad98 [newgrounds] fix: video download 4 years ago
insaneracist 576d233fe6 [xtube] fix extractor (#17) 4 years ago
nixxo a85e131b48 [rcs] Add new extractor 4 years ago
nixxo 165ce9f773 [gedi] removed unused tests, fixed extractor name 4 years ago
nixxo 81a20463a4 [skyitalia] moved token 4 years ago
nixxo 0b72c2bc31 [skyitalia] removed arbitrary parameter 4 years ago
nixxo c3c18d7b8a [skyitalia] Add new extractor 4 years ago
insaneracist ccec6955f3 [bandcamp] fix failing test. remove subclass hack 4 years ago
nixxo 6c6ee4905f [mtv] proposed fix 4 years ago
Tom-Oliver Heidel 1808b9e28c
Merge pull request #32 from amigatomte/patch-1
Update to reflect website changes.
4 years ago
Unknown 079a941282 [mtv] add match_id reminder 4 years ago
Unknown 3467b3e28f [skip travis][bandcamp] fix minor typo in tests 4 years ago
Tom-Oliver Heidel 565e61d488
Merge pull request #36 from insaneracist/bandcamp-fix
[bandcamp] restore album downloads
4 years ago
insaneracist 48aac9fc86 [bandcamp] restore album downloads
flake8 conform
4 years ago
Peter Oettig 67b19799a5 Fixed problem with JS player URL
The JS player URL could not be found anymore, possibly because of a change on Youtubes side.
4 years ago
Unknown 6f8557ec4d [skip travis] add note to remove tvland. 4 years ago
amigatomte fb9c36c45f
Update to reflect website changes. 4 years ago
Dan Walker 87ab4fb11a Added DRM logic
In the event when there are no available sources due to DRM controlled sources, return a DRM error and don't proceed with trying.

#28 reports that an ExtractorError "No video formats found". Which is true, because the formats list is empty, however it's empty because they are all locked. This provides a more informative message to the end-user.

# TESTING
Tried the URL provided in #28 and confirmed a DRM messages is returned.
4 years ago
GreyAlien502 61e76c1e5f
simplify second page fetch
Co-authored-by: Merval <merval@users.noreply.github.com>
4 years ago
nixxo d4ca287459 [gedi] fixed class name 4 years ago
nixxo a916af123c [gedi] Add new extractor 4 years ago
GreyAlien502 7bbc0bbce0 fix tiktok download 4 years ago
nixxo 5fec75c81c
[mtv] Fix a missing match_id
Fix a problem introduced in 320724f964 where is extracted the ID from the url with self._match_id but the problem is that ID is not always present in the url passed so the title should be extracted as proposed by the fix (and like is done in _real_extract (see line 337))
4 years ago
Unknown 8045ef7760 next release: 2020.10.26 4 years ago
Unknown fb2c9277bc [youtube] ultimate age gate fix 4 years ago
Unknown 4f5a0ad822 [tiktok] fallback url + cookie 4 years ago
Dan Walker 1666c2709f Fixed tiktok.py
The JSON formatting of the response changed, corrected.

#TESTING
Successfully downloaded and played a tiktok video
4 years ago
Unknown 6011cf1650 pypi c'mon. 4 years ago
Unknown 3d83f4723e bump. 4 years ago
Unknown 6c894ea191 [youtube/ytsearch] fix yt search feed + version update. 4 years ago
Unknown dd2d55f10d COMPLAINFREE 4 years ago
Unknown 3a6a581d94 Merge remote-tracking branch 'origin/master' 4 years ago
Unknown 07bafb4a90 [reddit] best format hotfix based on resolution. 4 years ago
Tom-Oliver Heidel 7eff09d332
Merge pull request #196 from blackjack4494/twitter_shortener
Twitter shortener
4 years ago
Unknown 957c523eea [youtube] cookie update reminder 4 years ago
Unknown a537ab1a09 [twitter/t.co] update supportedsites, failover replace, tco:id feature 4 years ago
Unknown 9e20a9c447 [twitter/t.co] implemented. 4 years ago
Unknown 51707d9a7a [MTV/Nick] universal mgid extractor + fix nick.de feed 4 years ago
Unknown f33b7b5eb4 [Twitter/t.co] showcase expanded how to use generic 4 years ago
Unknown 86b868c6a5 [Twitter/t.co] simple extractor added. modification needed. 4 years ago
Tom-Oliver Heidel d8f97cc1d3
Merge pull request #188 from blackjack4494/SouthparkDE_MTV
[SouthparkDE/MTV] another mgid extraction (mtv_base) feed url updated
4 years ago
Tom-Oliver Heidel 573c752256 Merge branch 'la7-fix' of https://github.com/iamleot/youtube-dl into iamleot-la7-fix 4 years ago
Unknown bc887cdd01 [SouthparkDE] regex and tests 4 years ago
Unknown 320724f964 [SouthparkDE/MTV] another mgid extraction (mtv_base) feed url updated 4 years ago
Tom-Oliver Heidel 60ecb525b2 Merge branch 'fixYTSearch' of https://github.com/xarantolus/youtube-dl into xarantolus-fixYTSearch 4 years ago
Tom-Oliver Heidel cfd7f14bb3
Merge pull request #176 from blackjack4494/mtv_updated_extractor_logic
[Mtv] updated extractor logic & more
4 years ago
Tom-Oliver Heidel b492464bf1
Merge pull request #171 from blackjack4494/yt_only_age_gate
[youtube] fix yt-only playback when age restricted/gated - requires cookies
4 years ago
Unknown cf7cb94287 [mtvn] update mtv network related extractors 4 years ago
Unknown b6e0c7d2e3 [mtv] fix mtv.com and more(?) 4 years ago
Unknown 962cc3ef87 merge bandcamp 4 years ago
Unknown b777004649 Merge branch 'ytdl-org-master' 4 years ago
Tom-Oliver Heidel 044ecf795d Merge branch 'feature_subscriber_count' of https://github.com/RedpointsBots/youtube-dl into RedpointsBots-feature_subscriber_count 4 years ago
Tom-Oliver Heidel a87a873d24 Merge branch 'bugfix_youtube_like_extraction' of https://github.com/RedpointsBots/youtube-dl into RedpointsBots-bugfix_youtube_like_extraction 4 years ago
Unknown c73baf23e0 fix to support python 2.6 4 years ago
Unknown 4bb9c8802e flake8 4 years ago