Pornhub Original

VLC Playlist Parsers parser playlist pornhub

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

14
Score 74.4%
Description:

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.
Last changelog:

1.3.0 30 days ago

Fixed videos not playing due to changes to the Pornhub website

cybertrax

24 days ago

Gracias por tu esfuerzo, yo no logro hacerlo funcionar. No estaría mal que publicaras un nuevo enlace de descarga de tu fichero con los cambios que los usuarios te piden para la calidad de imagen. No eh sido capaz de codificarlo. Te agradecería que lo publicaras. Por lo de mas todo bien. Un Saludo...

Report

C S3

palladium

23 days ago

Sorry I don't speak spanish, I hope you still understand!

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

1 month ago

There is a small issue with the script that I couldn't fix. The resolutions in the defaultQuality response are not ordered, but the cycle is taking the first available. This leads to videos playing by default in 480p. I don't have enough experience with Lua to fix the algorithm to work with a sorted whatever data structure, so I have replaced the following code:
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

C S3

palladium

1 month ago

The defaultQuality attribute usually lists resolutions in this order: 720,480,240,1080, if all are available (some videos have 720, 480 or 240 as maximum). So videos are played in 720p by default, because it's the first in the list.

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

1 month ago

Some videos don't have an HD version, even if that is listed in defaultQuality. Therefore, they don't have the link in the response. So at the moment the cycle plays the first available resolution, which is not the highest available. I tried to sort in different ways, but I somehow always ended up with a sort by first digit, not by number. If you know Lua I think it is trivial to fix so that the order is highest res video that has a link.
Also, this skips the download restrictions on FHD video, as it can be easily downloaded with VLC.

Report

C S3

palladium

1 month ago

Done!

Report

oneber

3 months ago

Wish it was for playlists, that would really be super useful =/

Report

sieben

5 months ago

Verständlich das man(n) das brauch, wenn es über ihn kommt. Da ist keine Zeit zum Tippen, wenn die Fahne gehisst ist!

Report

kurk

5 months ago

No understanable xplanation to install it.

Report

oneber

6 months ago

Downloaded the file according to your instructions. Using STRG+N, pasting the playlist link (for example https://de.pornhub.com/playlist/16780472) and hitting play unfortunately does nothing. Links for single videos work, but thats sadly it.

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

C S3

palladium

6 months ago

Only single videos are supported, not playlists. I know the category name "VLC Playlist Parsers" can be misleading but that's just how URL parsers are called in VLC. I may add support for playlists in a future version.

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

9

yosafat09

6 months ago

9 +6

Report

9

0808fery

6 months ago

9 +++++

Report

m3ssy1

7 months ago

I've installed that on my Mac, I can see that in Addons Manager (and not in Extensions menu - https://i.imgur.com/oOMxPaG.png)
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

C S3

palladium

7 months ago

It's normal that you don't see it in the extensions menu, because it's just a playlist parser, not an extension.
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

9

almilion

8 months ago

9 +100

Report

9

gougzilla

9 months ago

9 +

Report

9

rayst

11 months ago

9 +

Report

9

stphkerr

1 year ago

9 +Wankstains on my Laptop

Report

9

stphkerr

1 year ago

Report

9

tiger102010

1 year ago

9 +4545

Report

9

tiger102010

1 year ago

656566665

Report

9

cyprrr

1 year ago

9 + Good

Report

ONLY1MRJ

1 year ago

The description is very vague & doesn't offer much insight for someone who isn't the direct developer. It seems easy, but seeing as though I still haven't been able to properly install this feature, there's defintiely something that needs to be explained a little more -- well A LOT more in-depth. I would like to utilize this service, but the absence of directions is keeping me from doing do.

Report

C S3

palladium

1 year ago

Did you manage to copy the lua file in the directory written in the description? What operating system are you using?

Report

1.3.0 30 days ago

Fixed videos not playing due to changes to the Pornhub website

1.2.0 1 month ago

Added support for 1080p videos
Added support for VLC preferred resolution setting, to limit the maximum video resolution

1.1.0 1 year ago

Added support for thumbnails in playlists

12345678910
212
product-maker yosafat09 Apr 24 2019 9 excellent
+6
product-maker 0808fery Apr 23 2019 9 excellent
+++++
product-maker almilion Mar 05 2019 9 excellent
+100
product-maker gougzilla Feb 10 2019 9 excellent
+
product-maker rayst Nov 23 2018 9 excellent
+
product-maker stphkerr Nov 03 2018 9 excellent
+Wankstains on my Laptop
product-maker tiger102010 Sep 01 2018 9 excellent
+4545
product-maker cyprrr Aug 25 2018 9 excellent
+ Good
product-maker DetNev Jul 11 2018 9 excellent
+
product-maker wangmengqq Jun 19 2018 3 bad
-
product-maker jim-fun Jun 17 2018 9 excellent
+
product-maker pierbainsey Jun 10 2018 9 excellent
+
product-maker cckayne May 25 2018 9 excellent
+
product-maker elav May 24 2018 3 bad
- Really?
product-maker Base: 4 x 5.0 Ratings
tarian1103
Oct 27 2019
1234569468486754
Oct 25 2019
scottjhuber
Oct 18 2019
CaliBoiE
Sep 08 2019
hpapa
Sep 06 2019
kurohai
Apr 22 2019
omega10x
Mar 21 2019
mvolak1
Feb 13 2019
stphkerr
Nov 03 2018
kerber
Oct 11 2018
xyz555
Oct 10 2018
trangol
Sep 15 2018
ONLY1MRJ
Jul 15 2018
ScreamQueenzTFR
Jun 16 2018
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
GPLv2 or later
version
1.3.0
updated Oct 17 2019
added May 21 2018
downloads 24h
63
pageviews 24h 3672
System Tags addon gplv2-later