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 not get video url sometimes

See original GitHub issue

Checklist

  • I’m reporting a broken site support = yes
  • I’ve verified that I’m running youtube-dl version 2021.06.06 = yes
  • I’ve checked that all provided URLs are alive and playable in a browser = yes
  • I’ve checked that all URLs and arguments with special characters are properly quoted or escaped = yes
  • I’ve searched the bugtracker for similar issues including closed ones = yes

Verbose log

youtube-dl -g 'https://www.tiktok.com/@aamora_3mk/video/7028702876205632773' -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-g', 'https://www.tiktok.com/@aamora_3mk/video/7028702876205632773', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.8.10 (CPython) - Linux-5.11.0-40-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
ERROR: Unable to extract data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  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/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/tiktok.py", line 110, in _real_extract
    page_props = self._parse_json(self._search_regex(
  File "/usr/local/bin/youtube-dl/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; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Sometime it’s works but sometime not work!

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

10reactions
Menard01commented, Jan 26, 2022

To download on tiktok you only have to right click on the video and chose “Download the video”

3reactions
dirkfcommented, Dec 29, 2021

See https://medium.com/@szdc/reverse-engineering-the-musical-ly-api-662331008eb3, for example.

[For younger readers like myself, musical.ly is what became tiktok]

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Can't I Save a TikTok Video? Here Are 2 Fixes to Solve ...
Solution: If the account is private, you can't get the link to the TikTok video and there is no way to download the...
Read more >
TikTok Not Working? 7 Ways to Troubleshoot - Business Insider
If TikTok isn't working, there are many potential causes and solutions. The most common step is to restart the app or your phone....
Read more >
Can't Save a TikTok Video From the App? Try These Two ...
Have you tried to save a TikTok video from the app but had no luck? Here's how you can solve this.
Read more >
How to Download TikTok Videos (Without a Watermark)
Apps seem to occasionally run into legal troubles and get shut down or lose features, so the websites are the preferred method. Not...
Read more >
TikTok Now - TikTok Help Center
In regions where the TikTok Now app is available, you don't have to download ... you'll have 3 minutes (if aged 18 and...
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