Commit Graph

18290 Commits (0366ae875692bbe38867761952db70a62e32fd53)
 

Author SHA1 Message Date
Matthew 0366ae8756 Fix search to not depend on index position for videoRenderer and token items. 4 years ago
Tom-Oliver Heidel d052b9a112
[skip travis] typo 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
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
Tom-Oliver Heidel c924a219ea
Merge pull request #153 from Romern/zoom-fix
[zoom] Fix url parsing for url's containing /share/ and dots
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
Tom-Oliver Heidel da8fb75df5
[skip travis] adjust python versions 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
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
Tom-Oliver Heidel 651bae3d23
Merge pull request #129 from blackjack4494/release
workflow file
4 years ago
Tom-Oliver Heidel 5943bb6214
[skip travis] update workflow - sha file 4 years ago
Tom-Oliver Heidel 4a82c025da
Merge pull request #124 from nixxo/mailru-fix
[mailru] removed escaped braces, use urljoin, added tests
4 years ago
Unknown 7d94c06743 Merge remote-tracking branch 'origin/master' 4 years ago
Unknown 5db4014b23 [skip travis] readme and pypi update 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 471115dbee
[skip travis] add option to use pip to use master 4 years ago
Tom-Oliver Heidel 8934f61717
Merge pull request #68 from peet1993/master
[Youtube] Fixed problem with new youtube player
4 years ago