Commit graph

237 commits

Author SHA1 Message Date
pukkandan
02ced43cbf Print youtube's warning message (Closes #256) 2020-11-25 19:14:49 +05:30
pukkandan
3d3dddc948 Update youtube extractor to 2020.11.24 2020-11-24 03:48:17 +05:30
pukkandan
70d5c17b08 Minor changes to make it easier to merge 2020-11-24 03:48:17 +05:30
pukkandan
70c5802b5d Update to release 2020.11.24 except youtube and skyit extractors 2020-11-24 02:33:08 +05:30
pukkandan
a93f71ee5e Minor fixes 2020-11-23 23:48:39 +05:30
pukkandan
036fcf3aa1 Redirect channel home to /video 2020-11-23 01:56:08 +05:30
pukkandan
434406a982 Cleanup YoutubeTabIE _VALID_URL regex 2020-11-23 01:55:14 +05:30
pukkandan
386e1dd908 Better implementation of YoutubeSearchURLIE 2020-11-22 18:39:09 +05:30
pukkandan
7bd4a9b611 Added RDMM back
Eg: https://www.youtube.com/watch?v=MuAGGZNfUkU&list=RDMM
2020-11-22 15:50:16 +05:30
pukkandan
ef2f3c7f58 Minor fixes 2020-11-22 15:45:33 +05:30
pukkandan
a0566bbf5c Updated to release 2020.11.21.1 2020-11-22 03:51:26 +05:30
pukkandan
3462ffa892 Implemented all Youtube Feeds (ytfav, ytwatchlater, ytsubs, ythistory, ytrec) and SearchURL 2020-11-22 03:51:09 +05:30
pukkandan
d3260f40cb Revert changes to vlive 2020-11-22 03:46:54 +05:30
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
2020-11-20 13:03:32 +05:30
Tom-Oliver Heidel
228385340e
Merge pull request #187 from pukkandan/break-on-existing
Stop download after encountering video in archive
2020-11-16 23:00:44 +01:00
pukkandan
ea6e0c2b0d Add --break-on-existing by @gergesh
Authored-by: Yoav Shai <gergesh@gmail.com>
2020-11-13 14:19:00 +05:30
pukkandan
fe5caa2a7c Handle IndexError 2020-11-13 03:05:29 +05:30
pukkandan
9a68de1217 Pre-check video IDs in the archive before downloading 2020-11-13 02:44:47 +05:30
Unknown
5e6cdcecdd flake8 yt py2 fix 2020-11-11 15:15:24 +01:00
Tom-Oliver Heidel
c297a6c661
[skip travis] 2020-11-11 15:08:12 +01:00
Unknown
6bd79800c3 [youtube] python2 fix #168
proposed fix by awei78
2020-11-11 15:05:18 +01:00
Tom-Oliver Heidel
b28e751688
[skip travis] 2020-11-11 00:40:43 +01:00
Tom-Oliver Heidel
7ee5015a34
Merge pull request #149 from RobinD42/fix-subtitle-fallback
fall-back to the old way to fetch subtitles, if needed
2020-11-11 00:08:18 +01:00
Tom-Oliver Heidel
00c38ef28d
Merge pull request #151 from wlritchi/youtube-playlist-polymer
RFC: youtube: Polymer UI and JSON endpoints for playlists
2020-11-11 00:05:27 +01:00
Tom-Oliver Heidel
34861f1c96
Merge pull request #137 from nsapa/fix_subtitle
Fix issue triggered by tubeup
2020-11-11 00:02:09 +01:00
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