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.

Error during parsing, unable to extract title

See original GitHub issue

another one for you,

logs below:


(node:1) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: node_modules/youtube-dl/bin/youtube-dl -o users/admin/video/%(title)s.mp4 -f best[ext=mp4] --write-info-json --print-json --restrict-filenames -- http://www.91porn.com/view_video.php?viewkey=1a0559e8b72a87992dbc,
    at makeError (/app/node_modules/execa/lib/error.js:56:11),
    at handlePromise (/app/node_modules/execa/index.js:114:26),
    at processTicksAndRejections (internal/process/task_queues.js:94:5),
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
2020-06-14T04:54:27.262Z ERROR: ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.,
2020-06-14T04:54:26.365Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=1a0559e8b72a87992dbc,
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 7),
2020-06-14T04:53:52.905Z INFO: YoutubeDL-Material v4.0 started on PORT 443,
2020-06-14T04:54:26.363Z ERROR: Error during parsing:Error: Command failed with exit code 1: node_modules/youtube-dl/bin/youtube-dl --dump-json -- http://www.91porn.com/view_video.php?viewkey=1a0559e8b72a87992dbc,
    at runMicrotasks (<anonymous>),
2020-06-14T04:53:11.928Z ERROR: ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.,
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6),
2020-06-14T04:53:11.350Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=1a0559e8b72a87992dbc,
2020-06-14T04:53:11.349Z ERROR: Error during parsing:Error: Command failed with exit code 1: node_modules/youtube-dl/bin/youtube-dl --dump-json -- http://www.91porn.com/view_video.php?viewkey=1a0559e8b72a87992dbc,
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5),
2020-06-14T04:52:40.555Z ERROR: Error during parsing:Error: Command failed with exit code 1: node_modules/youtube-dl/bin/youtube-dl --dump-json -- http://www.91porn.com/view_video.php?viewkey=1a0559e8b72a87992dbc&page=&viewtype=&category=,
2020-06-14T04:52:40.556Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=1a0559e8b72a87992dbc&page=&viewtype=&category=,
2020-06-14T04:52:41.173Z ERROR: ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.,
(node:1) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: node_modules/youtube-dl/bin/youtube-dl -o users/admin/video/%(title)s.mp4 -f best[ext=mp4] --write-info-json --print-json --restrict-filenames -- http://www.91porn.com/view_video.php?viewkey=1a0559e8b72a87992dbc&page=&viewtype=&category=

Happens for this video::

http://www.91porn.com/view_video.php?viewkey=1a0559e8b72a87992dbc

I suspected it may be due to the url having additional arguments (it had &category=blah) etc but stripping those did not help.

I am running **

tzahi12345/youtubedl-material:nightly@sha256:4e2efbb9a28e1bc567158947b7272b1a64979101c25cf8706be8f27a0b4d577c

**

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
CountParadoxcommented, Aug 7, 2020

I cant seem to exec into the container 😕

OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown

Edit:

When trying with /bin/sh I get a different error.

lmartin@dockerbox:~$ docker exec youtube-dl-material_youtubedlmaterial_1 /bin/sh -i /bin/sh: can't access tty; job control turned off /app

Edit again:

I was able to get in via portainer, not sure why…

ran apk add nano

edited that file and increment the version by one major version to give youtube-dl time to merge the changes that are already waiting. rm the old binary and wget the new one from my site… https://rei.moe/downloads/youtube-dl

chmod +x on the binary and good to go! no restart needed and all working now.cheers for the help!

1reaction
CountParadoxcommented, Jul 28, 2020

youtube-dl.zip compiled binary of latest version of youtube-dl as of 28-7-2020 with 91porn title fix changes manually merged for any interested.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bilibili] Unable to extract title · Issue #1714 · yt-dlp/yt ... - GitHub
Checklist I'm reporting a bug unrelated to a specific site I've verified that I'm running yt-dlp version 2021.11.10.1.
Read more >
python 3.x - Extract title with BeautifulSoup - Stack Overflow
Show activity on this post. Here, soup. title returns a BeautifulSoup element which is the title element. Save this answer.
Read more >
Chapter 5. Content extraction - Tika in Action
Failure to read the input document—The parser reads the given InputStream in order to parse the document, but sometimes the stream fails with...
Read more >
Data Scrapping - Unable to parse data to next row in excel
Hello Team, I'm trying to scrape the data from HP Warranty Site for each Serial Number but I'm unable to save the result...
Read more >
FileImpl "Unable to extract text from" and other errors during ...
If we execute a reindex of documents (DLFileEntry) we have several warnings and errors in the log file with the message "Unable to...
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