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

hey, may I ask how to download the video ? #59

Open
nesteiner opened this issue Aug 22, 2021 · 6 comments
Open

hey, may I ask how to download the video ? #59

nesteiner opened this issue Aug 22, 2021 · 6 comments

Comments

@nesteiner
Copy link

first of all, thank you for your work,
image

and I was confused when try this code

python3 phdler.py custom https://www.pornhub.com/view_video.php\?viewkey\=ph5d69a2093729e

and I have already set the full path,
after type the code above, it download a json file

(env) ➜  PornHub-downloader-python-master python3 phdler.py custom https://www.pornhub.com/view_video.php\?viewkey\=ph5d69a2093729e
Running startup checks...
Database exists.
PornHub url validated.
and the URL is existing.
[PornHub] ph5d69a2093729e: Downloading pc webpage
WARNING: unable to extract uploader; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract view count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract like count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract dislike count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[download] /home/steiner/disk/disk1/泰迦/handpicked/Horny sexy girl take a shower and Fuck with her best friend !.unknown_video has already been downloaded
[download] 100% of 1.45KiB

then, how should I do ??

@boivinx7
Copy link

What are you one ? Windows or Linux ?
Anyway, for me on windows, since Python2 is not installed i had to upgrade youtube-dl
pip install --upgrade youtube-dl
on linux it would be
pip3 install --upgrade youtube-dl

the requirements.txt has a too old version of it referenced in it.

@nesteiner
Copy link
Author

I mean, how do I download the video from videoURL ?

@boivinx7
Copy link

your logs says that its aleady downloaded
/home/steiner/disk/disk1/泰迦/handpicked/Horny sexy girl take a shower and Fuck with her best friend !.unknown_video has already been downloaded

but you have the issue with the version of youtube-dl so its not downloading properly thats it...

once that is fix you will do
python3 phdler.py custom https://www.pornhub.com/view_video.php\?viewkey\=ph5d69a2093729e
to add the custom link
then
python3 phdler.py start
thats it, besides this bug the doc is pretty clear, that said im not the dev of the repo, just trying to help

@nesteiner
Copy link
Author

sorry for my poor english, the youtube-dl doesn't matter. how to download the video from output json file does matter 😋

@kklod
Copy link

kklod commented Sep 6, 2021

可能是你的 youtube-dl 版本过低,升级一下就可以了?(我是这样解决的)

@zhbrcn
Copy link

zhbrcn commented Sep 25, 2021

sorry for my poor english, the youtube-dl doesn't matter. how to download the video from output json file does matter 😋

I solve this problem just use pip3 install --upgrade youtube-dl after phdler installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants