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

22
Score 78.6%
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 7 months ago

Fixed videos not playing due to changes to the Pornhub website

sweetsuffering

22 days ago

hey, any way to make pornhubpremium.com videos work like this if i have a premium acc? awesome work on this thing, thanks alot!

Report

C S3

palladium

13 days ago

Hi, glad you like it. Unfortunately I don't think it's possible because it would require setting a cookie, which VLC extensions can't do. But there may be some other way, I'll look into it.

Report

10

injured7315

4 months ago

10 10 the best

Report

pizza-m

5 months ago

Any chance there will be one for xhamster too? :)
gj btw!

Report

C S3

palladium

4 months ago

You can find it here:
https://addons.videolan.org/p/1351219/

Report

C S3

palladium

5 months ago

Ok I'll do that next!

Report

10

vjnjkggvb

5 months ago

10 10 the best

Report

newswatcher

5 months ago

Followed instructions but not seeing this in 'playlist' or anywhere in the VLC app. Help.

Report

C S3

palladium

5 months ago

After installing the file, you just need to go to "Media" -> "Open Network Stream" and put a link to a video there.

Report

newswatcher

5 months ago

Thanks. Works fine.

Report

9

johnnyanthony21

5 months ago

9 9 excellent

Report

10

2061556919job

6 months ago

10 10 the best

Report

cybertrax

7 months 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

7 months 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

8 months 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

8 months 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

8 months 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

8 months ago

Done!

Report

oneber

9 months ago

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

Report

sieben

1 year 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

1 year ago

No understanable xplanation to install it.

Report

oneber

1 year 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

1 year 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

1 year ago

9 +6

Report

9

0808fery

1 year ago

9 +++++

Report

1.3.0 7 months ago

Fixed videos not playing due to changes to the Pornhub website

1.2.0 8 months ago

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

1.1.0 2 years ago

Added support for thumbnails in playlists

12345678910
2133
product-maker injured7315 Jan 29 2020 10 the best
10 the best
product-maker vjnjkggvb Dec 26 2019 10 the best
10 the best
product-maker johnnyanthony21 Dec 17 2019 9 excellent
9 excellent
product-maker 2061556919job Nov 17 2019 10 the best
10 the best
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
airwolf776
May 29 2020
evilsystem
Apr 15 2020
thomascperry
Mar 13 2020
sp202
Feb 16 2020
jms8972020
Feb 05 2020
vjnjkggvb
Dec 26 2019
hanxie
Dec 21 2019
johnnyanthony21
Dec 17 2019
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
26
mediaviews 24h 0
pageviews 24h 418
System Tags addon gplv2-later