question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TikTok: youtube-dl hangs after "Requesting Header"

See original GitHub issue
  • I’m reporting a broken site support issue
  • I’ve verified that I’m running youtube-dl version 2021.12.17
  • I’ve checked that all provided URLs are alive and playable in a browser
  • I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • I’ve searched the bugtracker for similar bug reports including closed ones
  • I’ve read bugs section in FAQ

Verbose log

$ youtube-dl -v 'https://vm.tiktok.com/ZMLesneqK/'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://vm.tiktok.com/ZMLesneqK/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.9.2 (CPython) - Linux-5.10.0-10-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.4, ffprobe 4.4, rtmpdump 2.4
[debug] Proxy map: {}
[generic] ZMLesneqK: Requesting header

Description

After Requesting header, youtube-dl hangs forever.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
Menard01commented, Jan 24, 2022

To download tiktok videos, you have only to right click and “Download the video” #noobs (No need a youtube-dl here)

0reactions
fuzzy76commented, Apr 12, 2022

@89z the one in the issue description.

fuzzy76@laptop ~ % youtube-dl -v --user-agent 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0' 'https://vm.tiktok.com/ZMLesneqK/'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0', 'https://vm.tiktok.com/ZMLesneqK/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.2 (CPython) - macOS-12.3.1-x86_64-i386-64bit
[debug] exe versions: ffmpeg 5.0.1, ffprobe 5.0.1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] ZMLesneqK: Requesting header
[redirect] Following redirect to https://www.tiktok.com/@eddysayi/video/7054218882072055046?_d=secCgwIARCbDRjEFSACKAESPgo8Ny%2BRiWmH3OT6VFDDOKQe%2FjdU6QNg2QvER6kPZv8%2BV8iBx6SaSGyiLedX5PcIDqwq0EOwLe84aH6c7rDnGgA%3D&checksum=f558941cd65da22b6359be076ef87f6ffe1d4188d600d52331e2263cc6baa1a8&language=de&preview_pb=0&sec_user_id=MS4wLjABAAAAOkEM5UFx0tM8hhBkjW8D1xAadF1RU12kEXRBL0Kub2pz70wmTYEXuYh8MdtS57Vj&share_app_id=1233&share_item_id=7054218882072055046&share_link_id=EA78C111-0165-44E0-9A7F-D0FC02C4B110&source=h5_m&timestamp=1642491289&tt_from=copy&u_code=dh6jgh57j8hf20&user_id=6931555450693420037&utm_campaign=client_share&utm_medium=ios&utm_source=copy&_r=1
[TikTok] Setting up session
[TikTok] 7054218882072055046: Downloading webpage
ERROR: Unable to extract data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/tiktok.py", line 110, in _real_extract
    page_props = self._parse_json(self._search_regex(
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
fuzzy76@laptop ~ % 
Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot download from YouTube: stuck waiting headers - Reddit
Since few weeks, I am unable to download audio or video from YouTube. ... youtube-dl is stuck "Requesting headers" forever.
Read more >
yt-dlp command man page - ManKier
yt-dlp - Man Page. A youtube-dl fork with additional features and patches. Examples (TL;DR). Download a video or playlist (with the default options...
Read more >
yt-dlp Version History - VideoHelp
Complete Version history / Release notes / Changelog / What's New for yt-dlp. yt-dlp 2022.11.11. Changelog Merge youtube-dl: Upto commit/de39d12. Backport SSL ...
Read more >
ytdl-core - npm
You can contact us for support on our chat server ... to merge into the request options which miniget is called with, such...
Read more >
Discussions - Page 165 - Microsoft Community Hub
Hello Insiders! Today, we are releasing build 110.0.1556.0 to the Dev channel, which includes a variety of fixes and new features. For more...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found