Pornhub URL parser. This one actually works!
To install, download the pornhub.lua file and place it in the following directory, depending on your operating system:
on Windows:
C:\Users\(your username)\AppData\Roaming\vlc\lua\playlist\
on macOS:
/Users/(your username)/Library/Application Support/org.videolan.vlc/lua/playlist/
on Linux:
~/.local/share/vlc/lua/playlist/
Note that you may have to create some directories in the path if they don’t exist.
2061556919job
19 days ago
Report
cybertrax
1 month ago
Report
palladium
1 month ago
I already added the support for better quality (1080p videos) that ivanthechemist suggested since version 1.2.0.
Do you still have problems using the latest version (1.3.0)? If yes, can you give me some details (error messages, etc.)?
Report
ivanthechemist
2 months ago
local available_resolutions = string.match(line, "\"defaultQuality\":%[(.-)%]")
for resolution in string.gmatch(available_resolutions, "[^,]+") do
with
local hard_res = {1080,720,480,240}
for i, resolution in ipairs(hard_res) do
I have tested that it works with 1080p 60fps source.
Report
palladium
2 months ago
Until recently, 1080p videos where not available for free, so if the script tried to use 1080 as the default resolution it failed. It seems that now 1080p videos are available for everyone, so I'll make an update to use that resolution if it's available.
Report
ivanthechemist
2 months ago
Also, this skips the download restrictions on FHD video, as it can be easily downloaded with VLC.
Report
palladium
2 months ago
Report
oneber
3 months ago
Report
sieben
6 months ago
Report
kurk
6 months ago
Report
oneber
6 months ago
BTW are you sure that C:\Users\(your username)\AppData\Roaming\vlc\lua\playlist\ is correct? While I had to create \lua and \playlist\ manually, there already exists the folder C:\Program Files\VideoLAN\VLC\lua\playlist, could that maybe the correct one?
Would love to see this working, cheers!
Report
palladium
6 months ago
The path under Program Files is also correct, but to put a file there you need administrator privileges. The path under Users requires no privileges so it may be easier to use that.
Report
yosafat09
7 months ago
Report
0808fery
7 months ago
Report
m3ssy1
7 months ago
Restarted VLC couple times and still opening Opening Network with any pornhub link doesn't do anything (tried https and http). It's adding "view_video.php?viewkey=" to the playlist with 0:00 duration and that's it.
Any suggestions, pretty please?
Report
palladium
7 months ago
Do you have issues opening youtube links?
Could you get a log and put it somewhere like pastebin? To get a log, open the messages window in Window -> Messages, select Debug as verbosity level and try opening a pornhub link.
Report
almilion
9 months ago
Report
gougzilla
9 months ago
Report
rayst
1 year ago
Report
stphkerr
1 year ago
Report
stphkerr
1 year ago
Report
tiger102010
1 year ago
Report
tiger102010
1 year ago
Report
cyprrr
1 year ago
Report
ONLY1MRJ
1 year ago
Report