Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TikTok] tag extractors broken #4952

Open
10 tasks done
Jadoo4QFan opened this issue Sep 17, 2022 · 3 comments
Open
10 tasks done

[TikTok] tag extractors broken #4952

Jadoo4QFan opened this issue Sep 17, 2022 · 3 comments
Labels
site-bug Issue with a specific website

Comments

@Jadoo4QFan
Copy link

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

Region

California, USA

Provide a description that is worded well enough to be understood

TikTok songs and tag extractors do not work. They used to on my laptop, but on my *nix devices they do not work. I even used GitHub Actions to use a Windows runner to debug it, and it still doesn’t work.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

Documents]$ yt-dlp https://www.tiktok.com/tag/
jadootv -vU 
[debug] Command-line config: ['https://www.tikt
ok.com/tag/jadootv', '-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref
 UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.09.01 [5d7c7d6] (pi
p)
[debug] Python 3.9.10+ (CPython 64bit) - macOS-
15.4.1-iPhone14,5-arm-64bit 
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg n5.0.1-4-ga5ebb3d2
5e (setts), ffprobe n5.0.1-4-ga5ebb3d25e, phant
omjs present, rtmpdump present
[debug] Optional libraries: Crypto-3.15.0, cert
ifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, 
websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1670 extractors
[debug] Fetching release info: https://api.gith
ub.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.09.01, Current version: 20
22.09.01
yt-dlp is up to date (2022.09.01)
[tiktok:tag] Setting up session
WARNING: [tiktok:tag] Unable to download webpage: The read operation timed out
[debug] [tiktok:tag] Extracting URL: https://www.tiktok.com/tag/jadootv
[tiktok:tag] jadootv: Downloading webpage
[download] Downloading playlist: jadootv
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 1 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 2 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 3 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 4 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying (1/3)...
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 1 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 2 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 3 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 4 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying (2/3)...
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 1 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 2 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 3 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 4 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying (3/3)...
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 1 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 2 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 3 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
WARNING: [tiktok:tag] Expecting value: line 1 column 1 (char 0). Retrying... (attempt 4 of 5)
[tiktok:tag] jadootv: Downloading video list page 1
ERROR: jadootv: Failed to parse JSON (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/var/mobile/Containers/Data/Application/87BE3170-A2E1-4D77-98F2-3C7FE2FA6E42/Library/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 974, in _parse_json
    return json.loads(
  File "/private/var/containers/Bundle/Application/4A7D25F8-7CF3-49FE-B87D-003CD121D26C/a-Shell-mini.app/Library/lib/python3.9/json/__init__.py", line 359, in loads
    return cls(**kw).decode(s)
  File "/var/mobile/Containers/Data/Application/87BE3170-A2E1-4D77-98F2-3C7FE2FA6E42/Library/lib/python3.9/site-packages/yt_dlp/utils.py", line 596, in decode
    return super().decode(s)
  File "/private/var/containers/Bundle/Application/4A7D25F8-7CF3-49FE-B87D-003CD121D26C/a-Shell-mini.app/Library/lib/python3.9/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/private/var/containers/Bundle/Application/4A7D25F8-7CF3-49FE-B87D-003CD121D26C/a-Shell-mini.app/Library/lib/python3.9/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

[tiktok:tag] Playlist jadootv: Downloading 1 videos of 0
[download] Finished downloading playlist: jadootv
[Documents]$ yt-dlp https://www.tiktok.com/t/ZTRaYkA4m/ -vU 
[debug] Command-line config: ['https://www.tiktok.com/t/ZTRaYkA4m/', '-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.09.01 [5d7c7d6] (pip)
[debug] Python 3.9.10+ (CPython 64bit) - macOS-15.4.1-iPhone14,5-arm-64bit 
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg n5.0.1-4-ga5ebb3d25e (setts), ffprobe n5.0.1-4-ga5ebb3d25e, phantomjs present, rtmpdump present
[debug] Optional libraries: Crypto-3.15.0, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1670 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.09.01, Current version: 2022.09.01
yt-dlp is up to date (2022.09.01)
[debug] [generic] Extracting URL: https://www.tiktok.com/t/ZTRaYkA4m/
[generic] ZTRaYkA4m: Downloading webpage
[redirect] Following redirect to https://www.tiktok.com/music/%E6%88%91%E6%98%AF%E5%B0%8F%E4%BB%99%E5%A5%B3-6829849504062130190?_d=secCgYIASAHKAESPgo8BxG9HP05QfIatBYLuE%2B%2BL9VcRAY9QozBkyddPAo7lA7nXaKbkEQjFs6c5J5d9SuEuTp%2BTK0l%2B%2BQI6A9BGgA%3D&_r=1&checksum=7e7b3574518aae5cb94f62de9ab1fb01fe2f1a15b7c64a163331d5eada4705d4&language=en&sec_user_id=MS4wLjABAAAAWRTxa9TmYNrI8T-5s9uJDRAEjUK47kceEtCRyFUIEsMang6XJwIvZMYGqCObcv8g&share_app_id=1233&share_link_id=BB3A8138-7A5B-4589-B3D9-605B23D2EE22&share_music_id=6829849504062130190&source=h5_m&timestamp=1663443638&tt_from=copy&u_code=e26e3635964a9j&ug_btm=b2878%2Cb5171&user_id=7106641030017270830&utm_campaign=client_share&utm_medium=ios&utm_source=copy
[debug] [generic] Extracting URL: https://www.tiktok.com/music/%E6%88%91%E6%98%AF%E5%B0%8F%E4%BB%99%E5%A5%B3-6829849504062130190?_d=secCgYIASAHKAESPgo8BxG9HP05QfIatBYLuE%2B%2BL9VcRAY9QozBkyddPAo7lA7nXaKbkEQjFs6c5J5d9SuEuTp%2BTK0l%2B%2BQI6A9BGgA%3D&_r=1&checksum=7e7b3574518aae5cb94f62de9ab1fb01fe2f1a15b7c64a163331d5eada4705d4&language=en&sec_user_id=MS4wLjABAAAAWRTxa9TmYNrI8T-5s9uJDRAEjUK47kceEtCRyFUIEsMang6XJwIvZMYGqCObcv8g&share_app_id=1233&share_link_id=BB3A8138-7A5B-4589-B3D9-605B23D2EE22&share_music_id=6829849504062130190&source=h5_m&timestamp=1663443638&tt_from=copy&u_code=e26e3635964a9j&ug_btm=b2878%2Cb5171&user_id=7106641030017270830&utm_campaign=client_share&utm_medium=ios&utm_source=copy
[generic] 我是小仙女-6829849504062130190?_d=secCgYIASAHKAESPgo8BxG9HP05QfIatBYLuE++L9VcRAY9QozBkyddPAo7lA7nXaKbkEQjFs6c5J5d9SuEuTp+TK0l++QI6A9BGgA=&_r=1&checksum=7e7b3574518aae5cb94f62de9ab1fb01fe2f1a15b7c64a163331d5eada4705d4&language=en&sec_user_id=MS4wLjABAAAAWRTxa9TmYNrI8T-5s9uJDRAEjUK47kceEtCRyFUIEsMang6XJwIvZMYGqCObcv8g&share_app_id=1233&share_link_id=BB3A8138-7A5B-4589-B3D9-605B23D2EE22&share_music_id=6829849504062130190&source=h5_m&timestamp=1663443638&tt_from=copy&u_code=e26e3635964a9j&ug_btm=b2878,b5171&user_id=7106641030017270830&utm_campaign=client_share&utm_medium=ios&utm_source=copy: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] 我是小仙女-6829849504062130190?_d=secCgYIASAHKAESPgo8BxG9HP05QfIatBYLuE++L9VcRAY9QozBkyddPAo7lA7nXaKbkEQjFs6c5J5d9SuEuTp+TK0l++QI6A9BGgA=&_r=1&checksum=7e7b3574518aae5cb94f62de9ab1fb01fe2f1a15b7c64a163331d5eada4705d4&language=en&sec_user_id=MS4wLjABAAAAWRTxa9TmYNrI8T-5s9uJDRAEjUK47kceEtCRyFUIEsMang6XJwIvZMYGqCObcv8g&share_app_id=1233&share_link_id=BB3A8138-7A5B-4589-B3D9-605B23D2EE22&share_music_id=6829849504062130190&source=h5_m&timestamp=1663443638&tt_from=copy&u_code=e26e3635964a9j&ug_btm=b2878,b5171&user_id=7106641030017270830&utm_campaign=client_share&utm_medium=ios&utm_source=copy: Extracting information
[debug] Looking for Brightcove embeds
[debug] Looking for embeds
ERROR: Unsupported URL: https://www.tiktok.com/music/%E6%88%91%E6%98%AF%E5%B0%8F%E4%BB%99%E5%A5%B3-6829849504062130190?_d=secCgYIASAHKAESPgo8BxG9HP05QfIatBYLuE%2B%2BL9VcRAY9QozBkyddPAo7lA7nXaKbkEQjFs6c5J5d9SuEuTp%2BTK0l%2B%2BQI6A9BGgA%3D&_r=1&checksum=7e7b3574518aae5cb94f62de9ab1fb01fe2f1a15b7c64a163331d5eada4705d4&language=en&sec_user_id=MS4wLjABAAAAWRTxa9TmYNrI8T-5s9uJDRAEjUK47kceEtCRyFUIEsMang6XJwIvZMYGqCObcv8g&share_app_id=1233&share_link_id=BB3A8138-7A5B-4589-B3D9-605B23D2EE22&share_music_id=6829849504062130190&source=h5_m&timestamp=1663443638&tt_from=copy&u_code=e26e3635964a9j&ug_btm=b2878%2Cb5171&user_id=7106641030017270830&utm_campaign=client_share&utm_medium=ios&utm_source=copy
Traceback (most recent call last):
  File "/var/mobile/Containers/Data/Application/87BE3170-A2E1-4D77-98F2-3C7FE2FA6E42/Library/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1459, in wrapper
    return func(self, *args, **kwargs)
  File "/var/mobile/Containers/Data/Application/87BE3170-A2E1-4D77-98F2-3C7FE2FA6E42/Library/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1535, in __extract_info
    ie_result = ie.extract(url)
  File "/var/mobile/Containers/Data/Application/87BE3170-A2E1-4D77-98F2-3C7FE2FA6E42/Library/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 670, in extract
    ie_result = self._real_extract(url)
  File "/var/mobile/Containers/Data/Application/87BE3170-A2E1-4D77-98F2-3C7FE2FA6E42/Library/lib/python3.9/site-packages/yt_dlp/extractor/generic.py", line 3078, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.tiktok.com/music/%E6%88%91%E6%98%AF%E5%B0%8F%E4%BB%99%E5%A5%B3-6829849504062130190?_d=secCgYIASAHKAESPgo8BxG9HP05QfIatBYLuE%2B%2BL9VcRAY9QozBkyddPAo7lA7nXaKbkEQjFs6c5J5d9SuEuTp%2BTK0l%2B%2BQI6A9BGgA%3D&_r=1&checksum=7e7b3574518aae5cb94f62de9ab1fb01fe2f1a15b7c64a163331d5eada4705d4&language=en&sec_user_id=MS4wLjABAAAAWRTxa9TmYNrI8T-5s9uJDRAEjUK47kceEtCRyFUIEsMang6XJwIvZMYGqCObcv8g&share_app_id=1233&share_link_id=BB3A8138-7A5B-4589-B3D9-605B23D2EE22&share_music_id=6829849504062130190&source=h5_m&timestamp=1663443638&tt_from=copy&u_code=e26e3635964a9j&ug_btm=b2878%2Cb5171&user_id=7106641030017270830&utm_campaign=client_share&utm_medium=ios&utm_source=copy
[Documents]$ �
@Jadoo4QFan Jadoo4QFan added site-bug Issue with a specific website triage Untriaged issue labels Sep 17, 2022
@Jadoo4QFan Jadoo4QFan changed the title [TikTok] tag and song extractors broken [TikTok] tag extractors broken Sep 17, 2022
@Jadoo4QFan

This comment was marked as spam.

@wviana

This comment was marked as off-topic.

@pukkandan
Copy link
Member

@wviana See pinned issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-bug Issue with a specific website
Projects
Status: tiktok
Development

No branches or pull requests

4 participants