Skip to content

[doodstream] support for all links #3120

Description

Checklist

Region

No response

Description

Not all links are supported.
I maked a pull request for support domain .so and works, but some links does't work, for example this link
https://dood.so/d/obx2lizzns385sm6gvbxwn56iu9maael

report always Unable to extract token

Verbose log

./yt-dlp -vU https://dood.so/d/obx2lizzns385sm6gvbxwn56iu9maael
[debug] Command-line config: ['-vU', 'https://dood.so/d/obx2lizzns385sm6gvbxwn56iu9maael']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.03.08.1 [c0c2c57d3] (zip)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python version 3.9.2 (CPython 64bit) - Linux-5.10.0-12-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.3-0, ffprobe 4.3.3-0, phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, secretstorage, sqlite
[debug] Proxy map: {}
Latest version: 2022.03.08.1, Current version: 2022.03.08.1
yt-dlp is up to date (2022.03.08.1)
[debug] [DoodStream] Extracting URL: https://dood.so/d/obx2lizzns385sm6gvbxwn56iu9maael
[DoodStream] obx2lizzns385sm6gvbxwn56iu9maael: Downloading webpage
ERROR: [DoodStream] obx2lizzns385sm6gvbxwn56iu9maael: Unable to extract token; please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/home/projects/yt-dlp/./yt-dlp/yt_dlp/extractor/common.py", line 637, in extract
    ie_result = self._real_extract(url)
  File "/home/projects/yt-dlp/./yt-dlp/yt_dlp/extractor/doodstream.py", line 52, in _real_extract
    token = self._html_search_regex(r'[?&]token=([a-z0-9]+)[&\']', webpage, 'token')
  File "/home/projects/yt-dlp/./yt-dlp/yt_dlp/extractor/common.py", line 1232, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/home/projects/yt-dlp/./yt-dlp/yt_dlp/extractor/common.py", line 1223, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)

Metadata

Metadata

Assignees

No one assigned

    Labels

    site-bugIssue with a specific website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions