Any updates on how to download videos from sites like these? I've tried the curl method and it's not working at all. I'm on macOS and using the terminal.
This is the command I typed:
Code:
curl --referer "http://highporn.net/" -o "~/Downloads/test.mp4" "https://73.anyhentai.com/EhtXex5BR2EJRGk=.mp4?st=vl659Q_47_pOY_hdOGhT_g&e=1601617074"
and it's giving me an error saying: Warning: Failed to create the file ~/Downloads/test.mp4: No such file or directory
If you read the error messages, it's telling you the problem is the output path you're providing that's invalid. just put test.mp4 in there to try it and it will download it in the current directory.(assuming the method still works, I have no clue)
Don't really use macs, but I'm assuming the issue with that path is the ~, it's probably just an indicator of some kind when you're in the command line and not actually part of the path.
I tried this one and get this error:
Failed to connect to 73.anyhentai.com port 443: Operation timed out
That error is telling you that it can't connect to the url you provided. It tries for a while and then gives up because it's taking too long.
By typing the url directly in a browser, it gives the 401 http error which means it's expecting some kind of authentication you're not providing with curl, likely some protection against direct downloads like this.
I'm assuming you'd need to provide cookies or something for this to work properly, assuming it does in a normal browser in the first place.
then I add cd
Code:
curl --referer "[URL]http://highporn.net/[/URL]" -o "cd~/Downloads/test.mp4" "[URL]https://73.anyhentai.com/EhtXex5BR2EJRGk=.mp4?st=vl659Q_47_pOY_hdOGhT_g&e=1601617074[/URL]"
First, there's a space between cd and the ~.
Second, cd is a command to go to a specific directory, not something you put in a path so it will always give an error if you do that.
What they meant by cd to that directory was to do "cd ~/Downloads"(or "cd /downloads", don't know) to move to the downloads directory of what I assume is your home folder for the connected user, don't really know macs that well and then you simply do the curl command and use the filename for the output instead of the full path, as illustrated in their wget example.
Looking back at the first page, it was initially using http instead of https so I doubt it'll simply work without any extra parameters. Just don't know what these would be since it's been a while since I used curl/wget to download stuff.