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

[Feature Request] Support for Downloading Videos from TikTok Search Results Pages #10180

Open
9 of 10 tasks
Quinera opened this issue Jun 14, 2024 · 0 comments
Open
9 of 10 tasks
Labels
site-enhancement Feature request for some website triage Untriaged issue

Comments

@Quinera
Copy link

Quinera commented Jun 14, 2024

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

Region

global

Example URLs

https://www.tiktok.com/search?q=sounds+music

Provide a description that is worded well enough to be understood

Problem Description

yt-dlp currently does not support downloading videos from TikTok search results pages, such as https://www.tiktok.com/search?q=sounds+-music. Users looking to download multiple videos based on search queries are affected by this limitation.

Suggested Feature

I suggest implementing a feature in yt-dlp that allows the extraction and downloading of videos from TikTok search results pages by entering a URL.

Use Case

This enhancement would benefit researchers and content creators who need to download TikTok videos based on specific keywords, improving content collection and analysis.

Additional Context

Enabling this feature would enhance yt-dlp's functionality for TikTok, meeting the growing needs of its user base for comprehensive video downloading tools.

Thank you for considering this addition to yt-dlp.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', 'https://www.tiktok.com/search?q=sounds+-music', '--skip-download']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [12b248ce6] (pip)
[debug] Python 3.10.8 (CPython arm64 64bit) - macOS-14.5-arm64-arm-64bit (OpenSSL 1.1.1w  11 Sep 2023)
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, brotlicffi-1.1.0.0, certifi-2024.06.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.45.2, urllib3-2.0.3, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1820 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp)
[generic] Extracting URL: https://www.tiktok.com/search?q=sounds+-music
[generic] search?q=sounds+-music: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] search?q=sounds+-music: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://www.tiktok.com/search?q=sounds+-music
Traceback (most recent call last):
  File "/opt/anaconda3/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1606, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/anaconda3/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1741, in __extract_info
    ie_result = ie.extract(url)
  File "/opt/anaconda3/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 734, in extract
    ie_result = self._real_extract(url)
  File "/opt/anaconda3/lib/python3.10/site-packages/yt_dlp/extractor/generic.py", line 2514, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.tiktok.com/search?q=sounds+-music
@Quinera Quinera added site-enhancement Feature request for some website triage Untriaged issue labels Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-enhancement Feature request for some website triage Untriaged issue
Projects
None yet
Development

No branches or pull requests

1 participant