summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-11-23 22:19:25 +0700
committerSergey M․ <dstftw@gmail.com>2020-11-23 22:19:25 +0700
commit316b10855af61798760b30531a5dc34da8d9a69b (patch)
tree12b709b045454eaad0a5e20de5eb02fa20694833
parent484fe787379a20ec9ef19f69b9e07321359bbd1e (diff)
downloadyoutube-dl-316b10855af61798760b30531a5dc34da8d9a69b.tar.gz
youtube-dl-316b10855af61798760b30531a5dc34da8d9a69b.tar.xz
youtube-dl-316b10855af61798760b30531a5dc34da8d9a69b.zip
[youtube:tab] Fix some weird typo (closes #27157)
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 2aad855c8..8f814a81c 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -3013,7 +3013,7 @@ class YoutubeTabIE(YoutubeBaseInfoExtractor):
             self.to_screen('Downloading playlist %s - add --no-playlist to just download video %s' % (playlist_id, video_id))
         webpage = self._download_webpage(url, item_id)
         identity_token = self._search_regex(
-            r'\bID_TOKEN["\']\s*:\s/l*["\'](.+?)["\']', webpage,
+            r'\bID_TOKEN["\']\s*:\s*["\'](.+?)["\']', webpage,
             'identity token', default=None)
         data = self._extract_yt_initial_data(item_id, webpage)
         tabs = try_get(