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/
266 stars 90 forks source link

Xvideos #1294

Closed EvelK1203 closed 5 months ago

EvelK1203 commented 6 months ago

Prerequisites

Description

Hit an miss on some videos on finding a supported link. Same videos play ok on the web site.

Kodi version

20.2

Cumination version

1.1.101

Operating System and version

Windows 11 Home

URL to debug log file

No response

dobbelina commented 6 months ago

I can confirm the issue. This started happen very recently, Xvideos have been working for ages before without any issues. Probably a new unsupported host in ResolveURL or ResolveURL.XXX

Gujal00 commented 6 months ago

can you link a video that doesnt play so that it can be looked at?

12asdfg12 commented 6 months ago

Media_id can also be a string not just numbers (https://www.xvideos.com/embedframe/ktvpvub6f17), changing the pattern in SMRxxx to pattern = r'(?://|\.)(x(?:v-)?videos1?\.(?:com|es|mx))/(?:video|embedframe/|embed/)(.+) works for me.

dobbelina commented 6 months ago

Media_id can also be a string not just numbers (https://www.xvideos.com/embedframe/ktvpvub6f17), changing the pattern in SMRxxx to pattern = r'(?://|\.)(x(?:v-)?videos1?\.(?:com|es|mx))/(?:video|embedframe/|embed/)(.+) works for me.

Thanks @12asdfg12 it works, (The oneliner is missing a ' in the end) xvideos.py line 26 pattern = r'(?://|\.)(x(?:v-)?videos1?\.(?:com|es|mx))/(?:video|embedframe/|embed/)(.+)'

Maybe @Gujal00 can have a look at it 😸 https://github.com/Gujal00/ResolveURL/blob/master/script.module.resolveurl.xxx/resources/plugins/xvideos.py

Gujal00 commented 6 months ago

Please test with this commit https://github.com/Gujal00/ResolveURL/commit/b2e05c120400ec725bbf0de032574e25003a4de1

dobbelina commented 6 months ago

@Gujal00 thanks works just fine.