diff options
author | GreyAlien502 <greyalien502@gmail.com> | 2020-10-27 02:20:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 02:20:18 +0000 |
commit | 61e76c1e5fc6df3ebb4f728c5cc999349d36c55d (patch) | |
tree | 3091f9b9a5b4fb9b11da1d4d3af532a67d805e5a | |
parent | 7bbc0bbce02e5b5a1beb08c9464c91eab537652a (diff) | |
download | hypervideo-pre-61e76c1e5fc6df3ebb4f728c5cc999349d36c55d.tar.lz hypervideo-pre-61e76c1e5fc6df3ebb4f728c5cc999349d36c55d.tar.xz hypervideo-pre-61e76c1e5fc6df3ebb4f728c5cc999349d36c55d.zip |
simplify second page fetch
Co-authored-by: Merval <merval@users.noreply.github.com>
-rw-r--r-- | youtube_dlc/extractor/tiktok.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/tiktok.py b/youtube_dlc/extractor/tiktok.py index 997a89e01..0f2b4acae 100644 --- a/youtube_dlc/extractor/tiktok.py +++ b/youtube_dlc/extractor/tiktok.py @@ -134,7 +134,7 @@ class TikTokIE(TikTokBaseIE): video_id = self._match_id(url) # If we only call once, we get a 403 when downlaoding the video. - webpage = self._download_webpage(url, video_id, note='Downloading video webpage') + self._download_webpage(url, video_id) webpage = self._download_webpage(url, video_id, note='Downloading video webpage') json_string = self._search_regex( r'id=\"__NEXT_DATA__\"\s+type=\"application\/json\"\s*[^>]+>\s*(?P<json_string_ld>[^<]+)', |