ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.77k stars 10.08k forks source link

tiktok no longer works #28096

Closed kapatz closed 3 years ago

kapatz commented 3 years ago

Checklist

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE youtube-dl https://www.tiktok.com/@bruno.barbieri/video/6912333073854074114 --verbose [debug] System config: ['--prefer-free-formats'] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.tiktok.com/@bruno.barbieri/video/6912333073854074114', '--verbose'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2021.02.04.1 [debug] Python version 3.6.8 (CPython) - Linux-3.10.0-1160.6.1.el7.x86_64-x86_64-with-centos-7.9.2009-Core [debug] exe versions: ffmpeg 2.8.15, ffprobe 2.8.15 [debug] Proxy map: {} [TikTok] Setting up session [TikTok] 6912333073854074114: 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/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 806, in wrapper return func(self, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 827, in __extract_info ie_result = ie.extract(url) File "/usr/local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 532, in extract ie_result = self._real_extract(url) File "/usr/local/lib/python3.6/site-packages/youtube_dl/extractor/tiktok.py", line 112, in _real_extract webpage, 'data'), video_id)['props']['pageProps']['itemInfo']['itemStruct'] File "/usr/local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 1010, 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.

Mennaruuk commented 3 years ago

I couldn't reproduce.

C:\Users\Menna\Downloads>youtube-dl https://www.tiktok.com/@bruno.barbieri/video/6912333073854074114 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.tiktok.com/@bruno.barbieri/video/6912333073854074114', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.02.04.1
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 4.3.2-2021-02-02-essentials_build-www.gyan.dev, ffprobe 4.3.2-2021-02-02-essentials_build-www.gyan.dev
[debug] Proxy map: {}
[TikTok] Setting up session
[TikTok] 6912333073854074114: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://v16-web.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/aaebfd8a8b584cb38fe1a17d11354f75/?a=1988&br=2190&bt=1095&cd=0%7C0%7C1&ch=0&cr=0&cs=0&cv=1&dr=0&ds=3&er=&expire=1612656242&l=2021020618034701019020908300E9CEDA&lr=tiktok_m&mime_type=video_mp4&pl=0&policy=2&qs=0&rc=M2tpOG1rbGtyeTMzZDczM0ApaWk6ZTVoOTxpNzs1NzY3OGdocWtnMzRlaGpfLS1iMTRzczMtYDAwLzZjNjMuMjIxXzA6Yw%3D%3D&signature=7a4aa202fa0ec0ad3eaa6975c0d27c78&tk=tt_webid_v2&vl=&vr='
[download] Destination: BrunoBarbieriChef-6912333073854074114.mp4
[download] 100% of 2.06MiB in 00:01
dstftw commented 3 years ago

Post the output with --dump-pages.

kapatz commented 3 years ago

I'm so sorry, now it works correctly