dobbelina / repository.dobbelina

repository.dobbelina- Kodi is a registered trademark of the XBMC Foundation.We are not connected to or in any other way affiliated with Kodi
https://dobbelina.github.io/
269 stars 91 forks source link

Pornhub.com down #999

Closed bOuNtYhUnTeR2022 closed 1 year ago

bOuNtYhUnTeR2022 commented 1 year ago

Hi there, just noticed pornhub.com is off.

Please fix 😊

bOuNtYhUnTeR2022 commented 1 year ago

Just try using a rp4 instead of pc or any other non ARM machine. But i'm uploading a log

bOuNtYhUnTeR2022 commented 1 year ago

Next time post the log here: https://paste.kodi.tv/ Here's your snippet, not the whole file: https://paste.kodi.tv/bikoqasunu.kodi

Please read this: Here's how you create a debug logfile

bOuNtYhUnTeR2022 commented 1 year ago

Whoops, just remembered I'm on Kodi 12.0 actually. Don't shoot me 😅

bOuNtYhUnTeR2022 commented 1 year ago

Just was retrying using nightly-20230315-13d3f9f 11.0

But same result, site won't open

Gujal00 commented 1 year ago

You mean LibreElec 11/12 right? (Kodi 12 is from 2012) Need full debug log uploaded to hastebin using Kodi Log File uploader addon, Cant work with snippets like above as there is no indication of trying to open pornhub

bOuNtYhUnTeR2022 commented 1 year ago

it was kodi 20, not 12 (typo) but just try to open the site using kodi and actual cummination 1.1.70, you should get the same result 🤷‍♂️ thanks

Gujal00 commented 1 year ago

It works fine on CoreElec 20 which is for Arm soc from Amlogic and works fine, So unless you can provide a full unedited debug log, can't proceed further

bOuNtYhUnTeR2022 commented 1 year ago

1.) https://paste.kodi.tv/ilezikafiv 2.) https://paste.kodi.tv/oguxobebak (same conditions just after reboot)

İt's the only log file i can distribute, used log file uploader and debug logging like usual. I don't understand why i should be the only one facing this error, but using same environment like everyone else.

Greetings

Gujal00 commented 1 year ago

Thanks for the debug log. File "/storage/.kodi/addons/plugin.video.cumination/resources/lib/sites/pornhub.py", line 66, in List This indicates the page received from the website doesnt match what the code is expecting.

When you open the website in a webbrowser from an other machine on your network do you see any cloudflare/ddosguard screen activate before displaying the webpage. That would indicate that on your location pornhub have activated ddos protection and so wont work inside cumination.

I don't understand why i should be the only one facing this error, but using same environment like everyone else.

As mentioned, it is all location dependent, and beyond the addon's control

bOuNtYhUnTeR2022 commented 1 year ago

No Cloudflare nor ddosguard is loading when accessing the site from any other device inside my network. When I'm getting you right, all people in germany can't access the site anymore using cummination?

12asdfg12 commented 1 year ago

I checked via VPN and you're right, Pornhub doesn't work in Germany, in Cummination, not because of ddosguard/cluoudflare but because of the age verification when you first access the site. This can be easily bypassed, you can check it yourself if you add the line below in the file "userdata/addon_data/plugin.video.cumination/cookies.lwp"

Set-Cookie3: accessAgeDisclaimerPH=1; path="/"; domain=".pornhub.com"; expires="2023-04-22 13:37:08Z"; Samesite=None; version=0

This will fix the listing problems, but the videos still won't play.

2023-03-23 15:43:07.512 T:15252 ERROR : ResolveURL: ResolverError Error - From: pornhub Link: https://www.pornhub.com/view_video.php?viewkey=641b580c3eba1: File not found 2023-03-23 15:43:07.513 T:15252 DEBUG : ResolveURL: Traceback (most recent call last): File "G:\Kodi19\portable_data\addons\script.module.resolveurl\lib\resolveurl\hmf.py", line 194, in resolve stream_url = resolver.get_media_url(self._host, self._media_id) File "G:\Kodi19\portable_data\addons\script.module.resolveurl.xxx\resources\plugins\pornhub.py", line 72, in get_media_url raise ResolverError('File not found') resolveurl.resolver.ResolverError: File not found

Gujal00 commented 1 year ago

@12asdfg12 Excellent work. I have added support for the cookie in ResolveURL https://github.com/Gujal00/ResolveURL/commit/9c21ce4885d99670f21d0672b68b47e0e244eac8 and have tested it. Also pushed a fix for the site in cumination which @dobbelina will include soon. No need to edit cookies.lwp with that change

@bOuNtYhUnTeR2022 Fix will be in the next release

bOuNtYhUnTeR2022 commented 1 year ago

Wow, great job mate! thanks for that 😉💪

dobbelina commented 1 year ago

Fix Pornhub access in Germany

For the German schlongs 😄

bOuNtYhUnTeR2022 commented 1 year ago

Seems it won't run without the installation of the script.module.resolveurl.xxx. Site and listing is ok but no vid playing by clicking. I don't needed it so long, could anyone pls send me a link to the zip?

Thanks again guys

DJMix-I-Can commented 1 year ago

https://github.com/Gujal00/smrzips/blob/master/zips/script.module.resolveurl.xxx/script.module.resolveurl.xxx-2.1.36.zip

bOuNtYhUnTeR2022 commented 1 year ago

https://github.com/Gujal00/smrzips/blob/master/zips/script.module.resolveurl.xxx/script.module.resolveurl.xxx-2.1.36.zip

💪😉

Gujal00 commented 1 year ago

I don't needed it so long, could anyone pls send me a link to the zip?

Cumination always relied on script.module.resolveurl and script.module.resolveurl.xxx which it installs as dependencies during installation and updates when updates are available

https://github.com/Gujal00/smrzips/blob/master/zips/script.module.resolveurl.xxx/script.module.resolveurl.xxx-2.1.36.zip

💪😉

Be aware that if you install zip, it will never autoupdate. Installing from zip used to work till Kodi18, and then it will still update from any repo if a higher version was available. From Kodi 19 onwards, you have to install from repository (in this case dobbelina) due to the repository pinning feature added on Kodi 19

bOuNtYhUnTeR2022 commented 1 year ago

I don't needed it so long, could anyone pls send me a link to the zip?

Cumination always relied on script.module.resolveurl and script.module.resolveurl.xxx which it installs as dependencies during installation and updates when updates are available

https://github.com/Gujal00/smrzips/blob/master/zips/script.module.resolveurl.xxx/script.module.resolveurl.xxx-2.1.36.zip

💪😉

Be aware that if you install zip, it will never autoupdate. Installing from zip used to work till Kodi18, and then it will still update from any repo if a higher version was available. From Kodi 19 onwards, you have to install from repository (in this case dobbelina) due to the repository pinning feature added on Kodi 19

Thanks, but i don't know why it doesn't installed on my lil Pi4. Now everything is working like a charm again, so case can be closed 😉