Tzahi12345 / YoutubeDL-Material

Self-hosted YouTube downloader built on Material Design
MIT License
2.64k stars 272 forks source link

Some URLs fail to parse #103

Open CountParadox opened 4 years ago

CountParadox commented 4 years ago

ok so first up im sorry that most of the bugs I find are with porn sites but youtube just works and theres so many more variables and things to go wrong with porn its easier to find broken things lol....

when attempting to download the following video:

http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&category=

I get the following errors in the container log:


2020-05-25T23:01:51.779Z 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=c7d1a52892d3cf1a30fe&page=&viewtype,
2020-05-25T23:01:51.779Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype,
2020-05-25T23:01:54.543Z 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=c7d1a52892d3cf1a30fe&page=&view,
2020-05-25T23:01:54.544Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&view,
2020-05-25T23:01:58.310Z 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=c7d1a52892d3cf1a30fe&page=&viewty,
2020-05-25T23:01:58.312Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewty,
2020-05-25T23:01:59.282Z 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=c7d1a52892d3cf1a30fe&page=&vie,
2020-05-25T23:01:59.283Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&vie,
2020-05-25T23:02:00.067Z 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=c7d1a52892d3cf1a30fe&page=&viewt,
2020-05-25T23:02:00.068Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewt,
2020-05-25T23:02:01.866Z 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=c7d1a52892d3cf1a30fe&page,
2020-05-25T23:02:01.867Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page,
2020-05-25T23:02:01.991Z 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=c7d1a52892d3cf1a30fe&page=&v,
2020-05-25T23:02:01.992Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&v,
2020-05-25T23:02:02.882Z 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=c7d1a52892d3cf1a30fe&page=&,
2020-05-25T23:02:02.882Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&,
2020-05-25T23:02:03.101Z 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=c7d1a52892d3cf1a30fe&page=&vi,
2020-05-25T23:02:03.102Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&vi,
2020-05-25T23:02:03.799Z 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=c7d1a52892d3cf1a30fe&pag,
2020-05-25T23:02:03.800Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&pag,
2020-05-25T23:02:04.216Z 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=c7d1a52892d3cf1a30fe&page=,
2020-05-25T23:02:04.217Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=,
2020-05-25T23:02:05.143Z 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=c71a52892d3cf1a30fe&pag,
2020-05-25T23:02:05.145Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c71a52892d3cf1a30fe&pag,
2020-05-25T23:02:05.928Z 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=c1a52892d3cf1a30fe&pag,
2020-05-25T23:02:05.931Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c1a52892d3cf1a30fe&pag,
2020-05-25T23:02:07.119Z 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=1a52892d3cf1a30fe&pag,
2020-05-25T23:02:07.121Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=1a52892d3cf1a30fe&pag,
2020-05-25T23:02:07.430Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&category=,
2020-05-25T23:02:07.431Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&category=,
2020-05-25T23:02:08.675Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&c,
2020-05-25T23:02:08.676Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&c,
2020-05-25T23:02:09.282Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&category,
2020-05-25T23:02:09.283Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&category,
2020-05-25T23:02:10.061Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&cate,
2020-05-25T23:02:10.062Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&cate,
2020-05-25T23:02:10.228Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&cat,
2020-05-25T23:02:10.229Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&cat,
2020-05-25T23:02:10.272Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&categor,
2020-05-25T23:02:10.274Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&categor,
2020-05-25T23:02:10.368Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&ca,
2020-05-25T23:02:10.369Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&ca,
2020-05-25T23:02:10.371Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=,
2020-05-25T23:02:10.372Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=,
2020-05-25T23:02:10.427Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&,
2020-05-25T23:02:10.427Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&,
2020-05-25T23:02:10.457Z 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=c7d1a52892d3cf1a30fe&page=&view,
2020-05-25T23:02:10.457Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&view,
2020-05-25T23:02:10.519Z 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=c7d1a52892d3cf1a30fe&pa,
2020-05-25T23:02:10.519Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&pa,
2020-05-25T23:02:10.550Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&categ,
2020-05-25T23:02:10.551Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&categ,
2020-05-25T23:02:10.628Z 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=c7d1a52892d3cf1a30fe&page=&viewtyp,
2020-05-25T23:02:10.629Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtyp,
2020-05-25T23:02:10.632Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&catego,
2020-05-25T23:02:10.633Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&catego,
2020-05-25T23:02:10.683Z 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=c7d1a52892d3cf1a30fe&page=&viewtype,
2020-05-25T23:02:10.684Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype,
2020-05-25T23:02:10.720Z 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=c7d1a52892d3cf1a30fe&page=&,
2020-05-25T23:02:10.721Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&,
2020-05-25T23:02:10.739Z 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=c7d1a52892d3cf1a30fe&page=,
2020-05-25T23:02:10.740Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=,
2020-05-25T23:02:10.839Z 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=c7d1a52892d3cf1a30fe,
2020-05-25T23:02:10.840Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe,
2020-05-25T23:02:10.885Z 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=c7d1a52892d3cf1a30fe&page=&vi,
2020-05-25T23:02:10.886Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&vi,
2020-05-25T23:02:10.908Z 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=c7d1a52892d3cf1a30fe&pag,
2020-05-25T23:02:10.908Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&pag,
2020-05-25T23:02:10.984Z 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=c7d1a52892d3cf1a30fe&p,
2020-05-25T23:02:10.985Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&p,
2020-05-25T23:02:11.017Z 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=c7d1a52892d3cf1a30fe&page=&viewty,
2020-05-25T23:02:11.017Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewty,
2020-05-25T23:02:11.043Z 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=c7d1a52892d3cf1a30fe&page=&vie,
2020-05-25T23:02:11.044Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&vie,
2020-05-25T23:02:11.058Z 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=c7d1a52892d3cf1a30fe,
    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: 2),
2020-05-25T23:02:11.143Z 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=c7d1a52892d3cf1a30fe&page,
2020-05-25T23:02:11.144Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page,
2020-05-25T23:02:11.147Z 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=c7d1a52892d3cf1a30fe&page=&v,
2020-05-25T23:02:11.148Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&v,
2020-05-25T23:02:11.173Z 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=c7d1a52892d3cf1a30fe&page=&viewt,
2020-05-25T23:02:11.173Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewt,
2020-05-25T23:02:11.200Z 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=c7d1a52892d3cf1a30fe&,
2020-05-25T23:02:11.200Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&,
2020-05-25T23:02:12.542Z 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?viewkey1a52892d3cf1a30fe&pag,
2020-05-25T23:02:12.542Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey1a52892d3cf1a30fe&pag,
2020-05-25T23:04:06.721Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&category=,
2020-05-25T23:04:06.722Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&category=,
2020-05-25T23:04:07.227Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&category=,
    at makeError (/app/node_modules/execa/lib/error.js:56:11),
    at handlePromise (/app/node_modules/execa/index.js:114:26),
    at runMicrotasks (<anonymous>),
    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: 3),```
CountParadox commented 4 years ago

I have tried stripping the tailing parts of the URL off leaving just the video ID but it doesnt help.

CountParadox commented 4 years ago

2020-05-25T23:04:07.227Z 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-05-25T23:04:06.722Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=c7d1a52892d3cf1a30fe&page=&viewtype=&category=,
2020-05-25T23:04:06.721Z 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=c7d1a52892d3cf1a30fe&page=&viewtype=&category=,
(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 -- https://www.xvideos.com/video54265939/15841175/0/transparent_dress_in_public,
2020-05-25T23:13:16.107Z ERROR: ERROR: unable to rename file: [Errno 2] No such file or directory,
(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: 4),
    at makeError (/app/node_modules/execa/lib/error.js:56:11),
    at handlePromise (/app/node_modules/execa/index.js:114:26),
(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=a72c1e2c020798a27c3b&page=&viewtype=&category=,
2020-05-25T23:06:29.280Z 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=a72c1e2c020798a27c3b&page=&viewtype=&category=,
2020-05-25T23:06:29.281Z ERROR: failed to parse for urls starting with http://www.91porn.com/view_video.php?viewkey=a72c1e2c020798a27c3b&page=&viewtype=&category=,
(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: 3),
    at processTicksAndRejections (internal/process/task_queues.js:94:5),
    at runMicrotasks (<anonymous>),
(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=c7d1a52892d3cf1a30fe&page=&viewtype=&category=,
2020-05-25T23:06:29.463Z 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: 5)```
SuperSandro2000 commented 4 years ago

Can you please use triple ` for long logs or gist, pastebin, etc.?

Tzahi12345 commented 4 years ago

@SuperSandro2000 Added!

I'm getting the same error on my end, I think this is (unfortunately) a problem on youtube-dl's end and not something I can fix. I tried adding the --restrict-filenames arg, but it didn't seem to help.

I would recommend opening up an issue here. Before doing that, I would run the command on youtube-dl itself and copy the logs from there (you don't want to mix my logs with youtube-dl's logs). Reason I say that is they are very particular about issues, and including erroneous logs might set them off, who knows :P

You can post the link here so we can follow it. I'll keep this open in case you or anyone else finds a workaround.

Also, don't feel about about including porn sites, it's good to test this app with obscure sites to make it more compatible across the board (which is something I want). So keep it up!