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.

Checklist

Region

Indonesia

Description

Fix 91porn.com since it cant extract title and the fix here https://github.com/ytdl-org/youtube-dl/pull/29876 isn’t working. thx

Verbose log

E:\scraper and downloader\91porn>youtube-dl -v http://91porn.com/view_video.php?viewkey=051a5a363acfd11e3e69
[debug] Command-line config: ['-v', 'http://91porn.com/view_video.php?viewkey=051a5a363acfd11e3e69']
[debug] User config "C:\Users\X\AppData\Roaming\yt-dlp\config": ['--continue', '--format-sort', 'vbr,abr', '--http-chunk-size', '1M', '--buffer-size', '16K', '--sub-lang', 'english', '--embed-metadata', '--abort-on-unavailable-fragment', '-o', '%(title)s [%(id)s].%(ext)s', '--ffmpeg-location', 'D:\\Program Files\\ffmpeg\\bin\\ffmpeg.exe', '--no-lock']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] ytdl-patched version 2022.03.08.1
[debug] ** The command you are running is not yt-dlp.
[debug] ** Please make bug reports at https://github.com/ytdl-patched/ytdl-patched/issues/new/choose instead.
[debug] Lazy loading extractors is disabled
[debug] Python version 3.9.4 (CPython 64bit) - Windows-10-10.0.19041-SP0
[debug] Checking exe version: "D:\Program Files\ffmpeg\bin\ffmpeg.exe" -bsfs
[debug] Checking exe version: "D:\Program Files\ffmpeg\bin\ffprobe" -bsfs
[debug] exe versions: ffmpeg 2022-03-28-git-5ee198f9aa-essentials_build-www.gyan.dev (setts), ffprobe 2022-03-28-git-5ee198f9aa-essentials_build-www.gyan.dev
[debug] Optional libraries: brotli, certifi, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [91porn] Extracting URL: http://91porn.com/view_video.php?viewkey=051a5a363acfd11e3e69
[91porn] 051a5a363acfd11e3e69: Downloading webpage
[91porn] [debug] Fetching webpage from http://91porn.com/view_video.php?viewkey=051a5a363acfd11e3e69
ERROR: [91porn] 051a5a363acfd11e3e69: Unable to extract title; 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 "c:\python\python39\lib\site-packages\yt_dlp\extractor\common.py", line 670, in extract
    ie_result = self._real_extract(url)
  File "c:\python\python39\lib\site-packages\yt_dlp\extractor\porn91.py", line 38, in _real_extract
    title = self._search_regex(
  File "c:\python\python39\lib\site-packages\yt_dlp\extractor\common.py", line 1292, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)


E:\scraper and downloader\91porn>pause
Press any key to continue . . .

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dirkfcommented, Mar 31, 2022

Somewhat hilariously, the page generates an obfuscated <source> element client-side, so the link is available just by unescaping the parameter of the obfuscator, as implemented in the linked PR.

The title can be extracted from the <title>:

        title = self._html_search_regex(
            r'(?s)<title\b[^>]*>\s*(.+?)\s*(?:Chinese\s+homemade\s+video\s*)?</title', webpage, 'title')

I’ve tweaked the yt-dl PR a bit and will update it. The yt-dlp extractor seems to be identical to the upstream.

0reactions
afterdelightcommented, Jul 10, 2022

@dirkf any good news??

Read more comments on GitHub >

github_iconTop Results From Across the Web

91Porn
No information is available for this page.
Read more >
91porn-【 推荐ee1488·com 】 - caseknives.com
Case Logo Patch. $3.99. Best Seller ... Overview · FAQs · Warranty & Repair · Shipping & Returns · Discounts & Promos ·...
Read more >
Is 91porn.com down or not working right now? Troubleshoot ...
Get real-time current status and outage reports for 91porn.com. ... Fix it fast with expert help; Get step-by-step instructions from a verified Tech...
Read more >
91porn邀请码购买 认准网站ka464 ... - Spectrum Collections
We design the tools, you create beauty · Vegan & Cruelty Free · Price & Performance · Attainable Sustainable.
Read more >
scala/cn - Gitter
fix a typo Merge pull request #2660 from Y… (compare). Dec 16 13:12 ... [Porn 帝国] 91porn国际站:https://www.91.porn/ 91porn国内站:https://www.91porn.com/.
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