aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2021-03-05 21:52:37 -0800
committerJesús <heckyel@hyperbola.info>2021-03-15 22:05:17 -0500
commit4013b81cb6cf75e62aa3eead64b5e2a6fa730e51 (patch)
tree6aa9df447c7b3f25256c463357bd0090d5ee4894 /youtube
parent1170403953d8e56d6f4737e92cd7e753a498c8bc (diff)
downloadyt-local-4013b81cb6cf75e62aa3eead64b5e2a6fa730e51.tar.lz
yt-local-4013b81cb6cf75e62aa3eead64b5e2a6fa730e51.tar.xz
yt-local-4013b81cb6cf75e62aa3eead64b5e2a6fa730e51.zip
Fix regression: playlists not showing up besides videos
Forgot to change & to ? in previous commit changing to embed page Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube')
-rw-r--r--youtube/watch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/watch.py b/youtube/watch.py
index 2e09a7c..c3c90bc 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -220,7 +220,7 @@ def decrypt_signatures(info, video_id):
def extract_info(video_id, use_invidious, playlist_id=None, index=None):
# bpctr=9999999999 will bypass are-you-sure dialogs for controversial
# videos
- url = 'https://m.youtube.com/embed/' + video_id + '&bpctr=9999999999'
+ url = 'https://m.youtube.com/embed/' + video_id + '?bpctr=9999999999'
if playlist_id:
url += '&list=' + playlist_id
if index: