Commit Graph

262 Commits

Author SHA1 Message Date
Unknown 104bfdd24d ytsearchurl 5 pages for around 100 results 2020-11-11 00:00:27 +01:00
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.
2020-11-10 17:49:43 -05:00
Tom-Oliver Heidel d91fdaff03
Merge pull request #79 from rigstot/thisvid
implement ThisVid extractor
2020-11-10 23:34:16 +01:00
Tom-Oliver Heidel c54f4aada5
Merge branch 'master' into youtube-playlist-polymer 2020-11-10 23:27:55 +01:00
Unknown 0f8566e90b manually set limit for youtubesearchurl 2020-11-10 23:20:52 +01:00
Tom-Oliver Heidel 0e0cffb8fe
Merge pull request #147 from ZenulAbidin/master
Fix #93 YoutubePlaylistsIE
2020-11-10 22:58:42 +01:00
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.
2020-11-10 22:44:53 +01:00
Tom-Oliver Heidel 69e3c6df5c
Merge pull request #159 from pukkandan/no-http-header
Fix external downloader when there is no http_header
2020-11-10 19:13:47 +01:00
pukkandan 002ea8fe17 Fix external downloader when there is no http_header 2020-11-10 23:25:55 +05:30
Roman Karwacik 8f109ad4ad
[zoom] Fix url parsing for url's containing /share/ and dots 2020-11-10 10:39:57 +01:00
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.
2020-11-10 03:38:26 -05:00
Robin Dunn 142f2c8e99 fall-back to the old way to fetch subtitles, if needed 2020-11-09 15:24:42 -08:00
Ali Sherief 876f1c17ff
Fix #93 YoutubePlaylistsIE 2020-11-09 16:06:48 +00:00
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'
2020-11-08 08:49:03 +01:00
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'
2020-11-08 08:36:26 +01:00
nixxo 8abd647c59 [mailru] removed escaped braces, use urljoin, added tests 2020-11-05 20:52:28 +01:00
Tom-Oliver Heidel adb118da26
Merge pull request #118 from insaneracist/youtube-music-playlist
[youtube] fix: Youtube Music playlists
2020-11-05 17:28:15 +01:00
Tom-Oliver Heidel 06a8be981b
Merge pull request #117 from nixxo/la7-proto-fix
[la7] fix missing protocol
2020-11-05 17:25:58 +01:00
Tom-Oliver Heidel f406ab6a14
Merge pull request #112 from insaneracist/youtube-mix-fix
[youtube] fix: mix playlist title
2020-11-05 17:25:27 +01:00
Tom-Oliver Heidel 206de9b233
Merge pull request #101 from exwm/vlive-fix
[vlive] fix extractor for revamped website
2020-11-05 17:20:44 +01:00
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
2020-11-04 21:51:52 +01:00
Tom-Oliver Heidel f8ddb38977
Merge pull request #108 from insaneracist/ytdl-pr/24751-zoomus
[zoom] new extractor
2020-11-04 21:21:10 +01:00
pukkandan 503d4a44f6 Don't try to embed/convert json subtitles generated by youtube livechat 2020-11-05 01:47:52 +05:30
insaneracist 366a7a4753 [zoom] rename extractor from zoomus 2020-11-04 12:13:51 -08:00
insaneracist 7f4f0b21c2 [youtube] added Youtube Music channel info 2020-11-04 12:07:14 -08:00
insaneracist 659ddd7f70 [youtube] fix: Youtube Music playlists 2020-11-04 10:06:53 -08:00
nixxo ab36800b1f [la7] fix missing protocol 2020-11-04 18:14:02 +01:00
exwm 9c8bc84fd2 [vlive] add: improved video extractor errors 2020-11-03 21:30:01 -05:00
exwm c434e9f504 [vlive] fix: missing expected types for try_get 2020-11-03 21:05:19 -05:00
exwm be5d6c213c [vlive] refactor: delete dead function code 2020-11-03 20:59:23 -05:00
insaneracist 15f6397c19 [youtube] get mix playlist title from ytInitialData 2020-11-03 07:15:16 -08:00
Tom-Oliver Heidel 7166f47b18
Merge pull request #57 from insaneracist/youtube-mix-fix
[youtube] fix: extract mix playlist ids from ytInitialData (#33)
2020-11-03 10:33:58 +01:00
Tom-Oliver Heidel 8934f61717
Merge pull request #68 from peet1993/master
[Youtube] Fixed problem with new youtube player
2020-11-03 10:27:13 +01:00
Tom-Oliver Heidel 4481cfb570
Merge pull request #82 from nixxo/skyitalia
[skyitalia] added geoblock msg
2020-11-03 10:01:37 +01:00
Roman Sebastian Karwacik b11a88fc24 [zoomus] Adjusted url regex, now allowing for arbitrary long ids, dont throw warning if password field not found 2020-11-02 16:09:20 -08:00
Roman Sebastian Karwacik aa13f124a5 [zoomus] Adjusted referer header, fixed formating for flake8 2020-11-02 16:09:20 -08:00
Roman Sebastian Karwacik 81acad1279 [zoomus] Added support for password protected videos 2020-11-02 16:09:20 -08:00
Roman Sebastian Karwacik abd273e17b [zoomus] coding conventions 2020-11-02 16:09:19 -08:00
Roman Sebastian Karwacik 55cd2999ed [zoomus] Cleanup 2020-11-02 16:09:19 -08:00
Roman Sebastian Karwacik ef6be42014 [zoomus] Allow for more urls 2020-11-02 16:09:19 -08:00
Roman Sebastian Karwacik 3f0852e35f [zoomus] Add new extractor 2020-11-02 16:09:16 -08:00
exwm 130599af94 [vlive] fix: raise login required error on vlive+ 2020-11-02 18:35:45 -05:00
exwm 73cc1b9125 [vlive] fix: live video extractor
* use live video info endpoint from v3 api
2020-11-02 18:35:45 -05:00
exwm 3417362556 [vlive] fix: vod logic wrongly used for live video 2020-11-02 18:35:45 -05:00
exwm 8ba3ad0a48 [vlive] fix: fetching live video not yet uploaded for replay 2020-11-02 18:35:44 -05:00
exwm 1923b146b3 [vlive] add: support new channel url format 2020-11-02 18:35:44 -05:00
exwm 5dcfd2508a [vlive] add: support video post urls 2020-11-02 18:35:44 -05:00
exwm 0536e60b48 [vlive] fix: extractor tests for VODs 2020-11-02 18:35:44 -05:00
insaneracist 5c15c1a0d7 python2: don't use str, use compat_str 2020-11-02 14:54:47 -08:00
Unknown 31108ce946 [core] sleep-subtitles fix 2020-11-01 03:36:16 +01:00
Unknown ae306df7e0 [viki] new way of obtaining subtitles. 2020-11-01 03:01:10 +01:00
nixxo e61f360157 [skyitalia] added geoblock msg 2020-10-31 14:52:07 +01:00
insaneracist 712799bd30 Merge branch 'master' into youtube-mix-fix 2020-10-31 02:40:11 -07:00
Unknown 7fb5f2f29d [skip travis] templates and urls 2020-10-31 09:26:04 +01:00
Tom-Oliver Heidel 200959ec76
Merge pull request #61 from merval/merval/comcast_sso_fix
Added Comcast_SSO fix
2020-10-31 09:15:15 +01:00
Tom-Oliver Heidel 4f51913680
Merge pull request #65 from TobiX/fix-netzkino
[Netzkino] Only use video id to find metadata
2020-10-31 09:14:16 +01:00
Tom-Oliver Heidel b8c6e56725
Merge pull request #55 from insaneracist/youtube-music-metadata-fix
[youtube] fix: extract artist metadata from ytInitialData (#49)
2020-10-31 09:08:33 +01:00
Tom-Oliver Heidel 2c01ee48e0
Merge pull request #47 from insaneracist/newgrounds-fix
[newgrounds] fix: video download
2020-10-31 09:05:05 +01:00
Tom-Oliver Heidel 0ae154c4b4
Merge pull request #51 from B0pol/nitter
[nitter] Add new extractor
2020-10-31 09:03:17 +01:00
Tom-Oliver Heidel e2d5e9a361
Merge pull request #30 from merval/merval/brightcove_drm
Added DRM logic to brightcove
2020-10-31 09:02:50 +01:00
Tom-Oliver Heidel 12ae240c36
Merge pull request #19 from nixxo/patch-1
[mtv] Fix a missing match_id
2020-10-31 09:02:06 +01:00
Tom-Oliver Heidel 76c2df5f0a
Merge pull request #40 from nixxo/skyitalia
[skyitalia] Add new extractor
2020-10-31 09:00:29 +01:00
Tom-Oliver Heidel 90c3f039e2
Merge pull request #45 from insaneracist/xtube-fix
[xtube] fix extractor (#17)
2020-10-31 08:58:51 +01:00
Unknown fa57af1ef3 flake8. added sha256 check to updater. 2020-10-31 08:57:55 +01:00
Unknown 9f448fcb26 [core/yt_live_chat] live_chat is back. dl() new parameter 2020-10-31 05:46:51 +01:00
Peter Oettig 59c5fa91c1 Fixed problem with new youtube player, leading to "Unable to extract video data". 2020-10-31 00:33:26 +01:00
Tobias Gruetzmacher 7db1d2a69e Only use video id to find metadata 2020-10-30 21:29:21 +01:00
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.
2020-10-30 08:31:34 -07:00
insaneracist 5b0a6a8010 [youtube] fix: extract mix playlist ids from ytInitialData (#33) 2020-10-29 16:11:14 -07:00
insaneracist 9322f1162d [youtube] fix: extract artist metadata from ytInitialData (#49) 2020-10-29 14:37:06 -07:00
nixxo 920ad13673 [skyitalia] fixed coding conventions 2020-10-29 13:37:07 +01:00
bopol bb8a73a0e2 [nitter] Add new extractor 2020-10-29 08:58:10 +01:00
Unknown 4932ba4aec [yt_live_chat] deactivate for now. 2020-10-29 02:57:43 +01:00
Unknown 0704d2224b [core] be able to hand over id and title using url_result 2020-10-29 01:56:55 +01:00
insaneracist 139e10ad98 [newgrounds] fix: video download 2020-10-28 16:55:47 -07:00
insaneracist 576d233fe6 [xtube] fix extractor (#17) 2020-10-28 13:48:55 -07:00
nixxo 81a20463a4 [skyitalia] moved token 2020-10-28 17:06:49 +01:00
nixxo 0b72c2bc31 [skyitalia] removed arbitrary parameter 2020-10-28 17:04:36 +01:00
nixxo c3c18d7b8a [skyitalia] Add new extractor 2020-10-28 16:55:58 +01:00
insaneracist ccec6955f3 [bandcamp] fix failing test. remove subclass hack 2020-10-28 08:12:58 -07:00
nixxo 6c6ee4905f [mtv] proposed fix 2020-10-28 13:48:22 +01:00
Tom-Oliver Heidel 1808b9e28c
Merge pull request #32 from amigatomte/patch-1
Update to reflect website changes.
2020-10-28 12:31:38 +01:00
Unknown 079a941282 [mtv] add match_id reminder 2020-10-28 12:25:49 +01:00
Unknown 3467b3e28f [skip travis][bandcamp] fix minor typo in tests 2020-10-28 12:18:04 +01:00
Tom-Oliver Heidel 565e61d488
Merge pull request #36 from insaneracist/bandcamp-fix
[bandcamp] restore album downloads
2020-10-28 12:15:29 +01:00
insaneracist 48aac9fc86 [bandcamp] restore album downloads
flake8 conform
2020-10-27 19:47:30 -07:00
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.
2020-10-27 20:39:49 +01:00
Unknown 6f8557ec4d [skip travis] add note to remove tvland. 2020-10-27 16:49:42 +01:00
amigatomte fb9c36c45f
Update to reflect website changes. 2020-10-27 15:27:51 +01:00
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.
2020-10-27 06:33:47 -07:00
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))
2020-10-26 13:36:29 +01:00
Unknown 8045ef7760 next release: 2020.10.26 2020-10-26 04:34:25 +01:00
Unknown fb2c9277bc [youtube] ultimate age gate fix 2020-10-26 04:32:37 +01:00
Unknown 4f5a0ad822 [tiktok] fallback url + cookie 2020-10-26 02:15:46 +01:00
Dan Walker 1666c2709f Fixed tiktok.py
The JSON formatting of the response changed, corrected.

#TESTING
Successfully downloaded and played a tiktok video
2020-10-25 06:08:57 -07:00
Unknown 6011cf1650 pypi c'mon. 2020-10-24 07:23:22 +02:00
Unknown 3d83f4723e bump. 2020-10-24 07:03:53 +02:00
Unknown 6c894ea191 [youtube/ytsearch] fix yt search feed + version update. 2020-10-24 06:57:14 +02:00
Unknown dd2d55f10d COMPLAINFREE 2020-10-24 05:09:22 +02:00
Unknown 3a6a581d94 Merge remote-tracking branch 'origin/master' 2020-10-23 16:53:59 +02:00