ResolveURL - Fork of UrlResolver by eldorados, tknorris and jsergio123

Overview

ResolveURL

Fork of UrlResolver by eldorados, tknorris and jsergio123

I am in no way responsible for the urls being resolved by 3rd parties. This script only resolves video content from legitimate file lockers without prejudice. If this script is being used by 3rd parties to resolve content that you feel infringes upon your Intellectual Property then please take your complaints to the actual website or developer linking to such content and not me. This script in no way searches for any content whatsoever.

Include smrzips dir with your repo to always have the latest updates

<dir>
    <info compressed="false">https://raw.githubusercontent.com/Gujal00/smrzips/master/addons.xml</info>
    <checksum>https://raw.githubusercontent.com/Gujal00/smrzips/master/addons.xml.md5</checksum>
    <datadir zip="true">https://raw.githubusercontent.com/Gujal00/smrzips/master/zips/</datadir>
</dir>

script.module.resolveurl

Include the script in your addon.xml

<requires>
    <import addon="script.module.resolveurl" version="5.1.0"/>
</requires>

Import ResolveUrl and use it

import resolveurl
if resolveurl.HostedMediaFile(url):
    resolved = resolveurl.resolve(url)

script.module.resolveurl.xxx

Adult Resolver Extension for ResolveURL

Include the script in your addon.xml

<requires>
    <import addon="script.module.resolveurl" version="5.1.0"/>
    <import addon="script.module.resolveurl.xxx" version="2.1.0"/>
</requires>
  1. Import SMR and the XXX SMR Extension to your addon.
  2. Call the resolveurl from your addon to resolve the XXX hosts.
import resolveurl
import xbmcvfs
xxx_plugins_path = 'special://home/addons/script.module.resolveurl.xxx/resources/plugins/'
if xbmcvfs.exists(xxx_plugins_path):
    resolveurl.add_plugin_dirs(xbmcvfs.translatePath(xxx_plugins_path))

if resolveurl.HostedMediaFile(url):
    resolved = resolveurl.resolve(url)
Comments
  • Custom Progress dialog doesn't display line 3 on Kodi 19

    Custom Progress dialog doesn't display line 3 on Kodi 19

    ...at least on ResolveURL Real-Debrid Transfer dialog (it does appear on kodi 18). Some findings from my digging about it:

    • CountdownDialog that uses the same CustomProgressDialog.ProgressDialog() class and xml does show line 3 (on eg r-d auth dialog). EDIT: that's wrong sorry, CountdownDialog has the same problem too
    • Using standard xbmcgui.DialogProgress() does show line 3 on that specific dialog, so I guess lines joining to 1 has been done correctly.

    So, not sure if there's something wrong on the xml, the CustomProgressDialog.ProgressDialog() class or the call for kodi.CountdownDialog() on realdebrid.get_media_url that makes line 3 to not appear on kodi 19.

    bug 
    opened by host505 40
  • Something broke on 5.1.67

    Something broke on 5.1.67

    2022-05-08 22:45:40.567 T:18964   DEBUG <CAddonSettings[script.module.resolveurl]>: trying to load setting definitions from old format...
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (ABCVideoResolver_enabled) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (ABCVideoResolver_login) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (ABCVideoResolver_priority) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (AnaVidsResolver_enabled) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (AnaVidsResolver_login) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (AnaVidsResolver_priority) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (CocoScopeResolver_enabled) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (CocoScopeResolver_login) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (CocoScopeResolver_priority) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (DateMuleResolver_enabled) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (DateMuleResolver_login) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (DateMuleResolver_priority) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (EasyLoadResolver_enabled) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (EasyLoadResolver_login) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (EasyLoadResolver_priority) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (ElUploadResolver_enabled) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (ElUploadResolver_login) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (ElUploadResolver_priority) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (GoUnlimitedResolver_enabled) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (GoUnlimitedResolver_login) was not found.
    2022-05-08 22:45:40.578 T:18964   DEBUG <CSettingsManager>: requested setting (GoUnlimitedResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (HugefilesResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (HugefilesResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (HugefilesResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (JetloadResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (JetloadResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (JetloadResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (LiveLeakResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (LiveLeakResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (LiveLeakResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (MystreamResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (MystreamResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (MystreamResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (NinjaStreamResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (NinjaStreamResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (NinjaStreamResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (NxloadResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (NxloadResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (NxloadResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (OnlyStreamResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (OnlyStreamResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (OnlyStreamResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (OoglyResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (OoglyResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (OoglyResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (PlayTubeResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (PlayTubeResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (PlayTubeResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (PutLoadResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (PutLoadResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (PutLoadResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (SBEmbedResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (SBEmbedResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (SBEmbedResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (SendFoxResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (SendFoxResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (SendFoxResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (SpeedVideoResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (SpeedVideoResolver_login) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (SpeedVideoResolver_priority) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (SpeedWatchResolver_enabled) was not found.
    2022-05-08 22:45:40.579 T:18964   DEBUG <CSettingsManager>: requested setting (SpeedWatchResolver_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (SpeedWatchResolver_priority) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (SteamaniResolver_enabled) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (SteamaniResolver_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (SteamaniResolver_priority) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (StreamWireResolver_enabled) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (StreamWireResolver_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (StreamWireResolver_priority) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (StreamtyResolver_enabled) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (StreamtyResolver_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (StreamtyResolver_priority) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (TheVidResolver_auto_update) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (TheVidResolver_enabled) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (TheVidResolver_etag) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (TheVidResolver_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (TheVidResolver_priority) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (TrollVidResolver_enabled) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (TrollVidResolver_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (TrollVidResolver_priority) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (TunePkResolver_enabled) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (TunePkResolver_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (TunePkResolver_priority) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VevIoResolver_enabled) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VevIoResolver_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VevIoResolver_priority) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VidUpResolver_enabled) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VidUpResolver_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VidUpResolver_priority) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VideoBeeResolver_enabled) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VideoBeeResolver_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VideoBeeResolver_priority) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VideoMegaResolver_enabled) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VideoMegaResolver_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VideoMegaResolver_priority) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VideozUpload_enabled) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VideozUpload_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VideozUpload_priority) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VidiaResolver_enabled) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VidiaResolver_login) was not found.
    2022-05-08 22:45:40.580 T:18964   DEBUG <CSettingsManager>: requested setting (VidiaResolver_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VidloxResolver_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VidloxResolver_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VidloxResolver_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VidspaceResolve_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VidspaceResolve_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VidspaceResolve_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (ViduPlayerResolver_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (ViduPlayerResolver_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (ViduPlayerResolver_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VidwatchResolver_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VidwatchResolver_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VidwatchResolver_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VidziResolver_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VidziResolver_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VidziResolver_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (ViuclipsResolver_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (ViuclipsResolver_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (ViuclipsResolver_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VivosxResolver_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VivosxResolver_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VivosxResolver_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VlareTVResolver_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VlareTVResolver_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VlareTVResolver_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VshareEuResolver_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VshareEuResolver_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VshareEuResolver_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VuptoResolver_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VuptoResolver_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (VuptoResolver_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (WatchVideoResolver_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (WatchVideoResolver_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (WatchVideoResolver_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (WeShareResolver_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (WeShareResolver_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (WeShareResolver_priority) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (WstreamResolver_enabled) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (WstreamResolver_login) was not found.
    2022-05-08 22:45:40.581 T:18964   DEBUG <CSettingsManager>: requested setting (WstreamResolver_priority) was not found.
    

    5.1.66 still working fine

    question 
    opened by cywteow 32
  • resolving magnet links with multiple videos

    resolving magnet links with multiple videos

    Hey, just wondering if there's support for resolving a magnet link that contains multiple video files. When I try, it seems to just be returning a single video.

    Currently testing with only Real-Debrid configured. Just getting into Kodi addon development, so still getting used to this.

    Thanks!

    enhancement good first issue 
    opened by pikdum 30
  • issues with real-debrid and kodi plugins using resolveurl

    issues with real-debrid and kodi plugins using resolveurl

    Many people are experiencing issues, where the latest update has stopped working with addons in kodi such as The Crew.

    https://www.reddit.com/r/Addons4Kodi/comments/viw0hh/resolveurl_error_rd_links_wont_load/

    Please let me know which debug logs you would need to troubleshoot. I would assume this is reproducible on your own build. Thank you.

    opened by 0xTT 19
  • fix: remove numpy import

    fix: remove numpy import

    This fixes a Kodi crash with 5.1.67 for me, but unsure if it causes other issues.

    2022-05-08 15:09:40.707 T:16007   ERROR <general>: /home/pikdum/.kodi/addons/script.module.resolveurl/lib/resolveurl/lib/websocket/_abnf.py:37: UserWarning: NumPy was imported from a Python sub-interpreter but NumPy does not properly support sub-interpreters. This will likely work for most users but might cause hard to track down issues or subtle bugs. A common user of the rare sub-interpreter feature is wsgi which also allows single-interpreter mode.
                                                       Improvements in the case of bugs are welcome, but is not on the NumPy roadmap, and full support may require significant effort to achieve.
                                                         import numpy
    

    Looking through the code, it seems like numpy might just be an optimization?

    Might fix #91, if that issue is the same.

    opened by pikdum 9
  • Can I resolve a url link not shown until clicked?

    Can I resolve a url link not shown until clicked?

    I tried to resolve a url link (evoload or mixload) wrapped by 3rd party script. A media url won't be shown before play button is clicked. Could you help me on this one?

    https://pastebin.com/Hc0cydLh

    opened by ppongoo 6
  • Error when trying to authorize Real Debrid

    Error when trying to authorize Real Debrid

    I'm getting this error when trying to authorize my RD account. Kodi 19.4 Win 10 64bit.

    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                   Error Type: <class 'http.client.IncompleteRead'>
                   Error Contents: IncompleteRead(0 bytes read)
                   Traceback (most recent call last):
                     File "G:\Kodi.19\system\python\Lib\http\client.py", line 555, in _get_chunk_left
                       chunk_left = self._read_next_chunk_size()
                     File "G:\Kodi.19\system\python\Lib\http\client.py", line 522, in _read_next_chunk_size
                       return int(line, 16)
                   ValueError: invalid literal for int() with base 16: b''
                   
                   During handling of the above exception, another exception occurred:
                   
                   Traceback (most recent call last):
                     File "G:\Kodi.19\system\python\Lib\http\client.py", line 572, in _readall_chunked
                       chunk_left = self._get_chunk_left()
                     File "G:\Kodi.19\system\python\Lib\http\client.py", line 557, in _get_chunk_left
                       raise IncompleteRead(b'')
                   http.client.IncompleteRead: IncompleteRead(0 bytes read)
                   
                   During handling of the above exception, another exception occurred:
                   
                   Traceback (most recent call last):
                     File "G:\Kodi.19\portable_data\addons\script.module.resolveurl\lib\default.py", line 195, in <module>
                       sys.exit(main())
                     File "G:\Kodi.19\portable_data\addons\script.module.resolveurl\lib\default.py", line 191, in main
                       url_dispatcher.dispatch(mode, queries)
                     File "G:\Kodi.19\portable_data\addons\script.module.resolveurl\lib\resolveurl\lib\url_dispatcher.py", line 85, in dispatch
                       self.func_registry[mode](*args, **kwargs)
                     File "G:\Kodi.19\portable_data\addons\script.module.resolveurl\lib\default.py", line 67, in auth_rd
                       if realdebrid.RealDebridResolver().authorize_resolver():
                     File "G:\Kodi.19\portable_data\addons\script.module.resolveurl\lib\resolveurl\plugins\realdebrid.py", line 295, in authorize_resolver
                       js_result = json.loads(self.net.http_GET(url, headers=self.headers).content)
                     File "G:\Kodi.19\portable_data\addons\script.module.resolveurl\lib\resolveurl\lib\net.py", line 389, in content
                       html = self._response.read()
                     File "G:\Kodi.19\system\python\Lib\http\client.py", line 465, in read
                       return self._readall_chunked()
                     File "G:\Kodi.19\system\python\Lib\http\client.py", line 579, in _readall_chunked
                       raise IncompleteRead(b''.join(value))
                   http.client.IncompleteRead: IncompleteRead(0 bytes read)
                   -->End of Python script error report<--
    
    duplicate 
    opened by kolekan 5
  • Failed to open settings.xml

    Failed to open settings.xml

    Hey,

    I'm trying to auto update ResolveURL from within my plugin but whenever I do this, I get an error afterwards at script.module.resolveurl/lib/init.py line 256. It should check if that file exists before trying to open it.

    Thank you!

    opened by Nagirah90 5
  • Cloudb does not work

    Cloudb does not work

    As mentioned in the title, and at least on my end, resolveurl fails on cloudb. This is what kodi's log says when I enter a relevant url in smr link tester

    2022-05-07 18:27:29.840 T:140003115357952  NOTICE: SMR Link Tester: Version: |1.1.7| Queries: |{'link': 'http://cloudb.me/embed/tt8097030gr/', 'mode': 'play_link'}| (ENCODED)
    2022-05-07 18:27:29.841 T:140003115357952  NOTICE: SMR Link Tester: Running on: |Python 2.7.16 (default, Oct 25 2020, 09:34:29)
                                                [GCC 8.3.0]|OpenSSL 1.1.1d  10 Sep 2019
    2022-05-07 18:27:29.841 T:140003115357952  NOTICE: SMR Link Tester: Args: |['plugin://plugin.video.smr_link_tester/', '4', '?link=http%3A%2F%2Fcloudb.me%2Fembed%2Ftt8097030gr%2F&mode=play_link', 'resume:false']|
    2022-05-07 18:27:29.841 T:140003115357952  NOTICE: SMR Link Tester: Playing Link: |http://cloudb.me/embed/tt8097030gr/|
    2022-05-07 18:27:29.894 T:140003115357952  NOTICE: SMR Link Tester: Link Supported: |http://cloudb.me/embed/tt8097030gr/|
    2022-05-07 18:27:31.054 T:140003115357952   ERROR: ResolveURL: ResolverError Error - From: cloudb Link: http://cloudb.me/embed/tt8097030gr/: Δεν βρέθηκε σύνδεσμος βίντεο
    2022-05-07 18:27:31.094 T:140004715702400   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.smr_link_tester/?link=http%3A%2F%2Fcloudb.me%2Fembed%2Ftt8097030gr%2F&mode=play_link]
    

    The above is from kodi 18.9. running resolveurl 5.1.66, but the same happens on kodi 19.4 too. The greek text at the end of a line says "no video url was found".

    opened by pitsi 5
  • Using the mobile browser as a resolver

    Using the mobile browser as a resolver

    Hi Gujal00. It's because of little changes like these:

    • https://github.com/Gujal00/ResolveURL/pull/276
    • https://github.com/Gujal00/ResolveURL/pull/265

    ...that I was thinking if there wasn't a definitive solution.

    Using the WebExtension API we can create a browser extension that can listen to the headers and destination URLs of all requests that your browser makes.
    So I tested making an extension that did that: https://github.com/doko-desuka/StreamCatcher

    On Kodi, in an add-on, you have some Python code listening until it receives the URL + headers that the extension on the phone has prepared and sent it:

    https://user-images.githubusercontent.com/31810999/208303230-335949e9-6da6-4653-9b59-b02ff67cce5a.mp4

    It's working on an Android phone (using the Kiwi browser) + Android TV box setup.
    ~~There's a few sources it can't detect~~ It detected all hosters I tried. This includes some reCaptcha-protected videos, because the browser passes the test of course. Anything you can watch on the Kiwi browser is potentially playable on Kodi.
    I think this can finally make so many updates unnecessary. The process becomes:

    1. On Kodi you activate your plugin for it to start "listening" on some address & port.
    2. On your phone you go to a website as if you're going to watch something.
    3. Wait for the extension to detect a video being played (it's automatic).
    4. Send details to Kodi through that address & port.
    5. Kodi plays it, instead of your mobile browser.

    And this isn't cheating, as we aren't scraping anything: we're visiting these sites on our phones, so we're shown ads, promotions etc. The website owners aren't being explored. This is simply "instead of playing it on my phone screen, play it on my Kodi device".

    Cheers

    opened by doko-desuka 4
  • Doodstream not working

    Doodstream not working

    Hello, When playing from dramacool addon, and selecting any episode to play with doodstream server, this error generates.

    2022-12-18 12:17:44.696 T:11072   ERROR <general>: ResolveURL: ResolverError Error - From: DoodStream Link: https://dood.wf/e/cnl: Video Link Not Found
    2022-12-18 12:17:44.698 T:11072    INFO <general>: CPythonInvoker(26, C:\Users\alp\AppData\Roaming\Kodi\addons\plugin.video.dramacool\dramacool\addon.py): script successfully run
    2022-12-18 12:17:44.706 T:7528     INFO <general>: CActiveAESink::OpenSink - initialize sink
    2022-12-18 12:17:44.890 T:11072    INFO <general>: Python interpreter stopped
    2022-12-18 12:17:44.904 T:3912    ERROR <general>: Playlist Player: skipping unplayable item: 9, path [plugin://plugin.video.dramacool/s.html]
    2022-12-18 12:17:46.738 T:3912  WARNING <general>: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running
    2022-12-18 12:17:57.141 T:3912  WARNING <general>: Skipped 2 duplicate messages..
    2022-12-18 12:17:57.141 T:3912  WARNING <general>: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running
    

    The URL https://dood.wf/e/cnl certainly works.

    opened by alpha7504 4
  • On Filmxy

    On Filmxy

    Regards Master

    is it possible that the regex doesn't work on some Italian movies.? (I tried on those)

    https://www.linkbin.me/1rghb2/

    https://github.com/Gujal00/ResolveURL/blob/38155d1d0f501cab1bb9362aa068f44e4af3c7ea/script.module.resolveurl/lib/resolveurl/plugins/racaty.py#L44

    I've looked around for a regex that maybe works, but I haven't been able to test it at the moment eg : # if (btn := soup.find(class_="btn btn-dow")): return btn["href"] # if (unique := soup.find(id="uniqueExpirylink")): return unique["href"]

    opened by Belfagor2005 5
  • DoodStream issue

    DoodStream issue

    I get this error when resolving doodstream. (Failed: Peer certificate cannot be authenticated with given CA certificates(60) If i manually edit doodstream.py from: return self.dood_decode(html) + token + str(int(time.time() * 1000)) + helpers.append_headers(headers) to: return self.dood_decode(html) + token + str(int(time.time() * 1000)) + '|User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36&verifypeer=false&Connection=keep-alive&Referer=%s' % (web_url) it works!

    opened by dracosc22679 8
Owner
gujal
gujal
An Inline Telegram YouTube Downloader bot with custom, permanent thumbnail support and cancel upload facility. Make your fork now.

Inline-Tube-Mate (YouTube Downloader) An Inline Telegram bot that can download YouTube videos with permanent thumbnail support Bot need to be in Inlin

Renjith Mangal 41 Dec 14, 2022
Insane Weather Bot is here! Give suggestions, fork, and do much more to help us enhance the abilities of Insane Weather Bot.

Insane_Weather_Bot Insane Weather Bot is here! Give suggestions, fork, and do much more to help us enhance the abilities of Insane Weather Bot. Weathe

null 1 Jan 2, 2022
VoiceMaster-Discord-Bot - Fork from original Discord bot with max channel limit, staff role and more

VoiceMaster VoiceMaster is a discord bot created to change the way servers work,

null 2 Feb 28, 2022
Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API

pycord A fork of discord.py. PyCord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Mo

Pycord Development 2.3k Dec 31, 2022
A maintained fork of Danny's discord.py

Nextcord A modern, easy-to-use, feature-rich, and async-ready API wrapper for Discord written in Python. Fork notice This is a fork of discord.py, whi

null 977 Jan 5, 2023
A Fork of Gitlab's Permifrost tool for managing Snowflake Permissions

permifrost-fork This is a fork of the GitLab permifrost project. As the GitLab team is not currently maintaining the project, we've taken on maintenac

Hightouch 7 Oct 13, 2021
Maintained wavelink fork for pycord

Pycord.Wavelink Wavelink is robust and powerful Lavalink wrapper for Pycord! Wavelink features a fully asynchronous API that's intuitive and easy to u

Pycord Development 23 Dec 11, 2022
A fork of lavalink.py built for nextcord

nextcord-ext-lava is a wrapper for Lavalink which abstracts away most of the code necessary to use Lavalink, allowing for easier integration into your projects, while still promising full API coverage and powerful tools to get the most out of it.

nextcord-ext 4 Feb 27, 2022
A fork of discord.py for anime enjoyers

A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using async and await

Senpai Development 4 Nov 5, 2021
A fork of discord.py meant to replace it

Texus A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using async and

Texus 1 Nov 18, 2021
Who are we? We are the Hunters of all Torrent in this world.🗡️.Fork from SlamDevs

MIRROR HUNTER This Mirror Bot is a multipurpose Telegram Bot writen in Python for mirroring files on the Internet to our beloved Google Drive. Repo la

Anime Republic 130 May 28, 2022
Maintained Fork of Jishaku For nextcord

Onami a debugging and utility extension for nextcord bots Read the documentation online. Fork Onami is a actively maintained fork of Jishaku for nextc

RPS 11 Dec 14, 2022
A continued fork of Disco

Orca Orca is an extensive and extendable Python 3.x library for the Discord API. orca boasts the following major features: Expressive, functional inte

RPS 4 Apr 3, 2022
A fork of discord.py

discord.py A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. The Future of discord.py Please read the gi

null 1 Dec 19, 2021
A fast, easy to set up telegram userbot running Python 3 which uses fork of the Telethon Library.

forked from friendly-telegram/friendly-telegram Friendly Telegram Userbot A fast, easy to set up telegram userbot running Python 3 which uses fork of

GeekTG 75 Jan 4, 2023
PyDiscord, a maintained fork of discord.py, is a python wrapper for the Discord API.

discord.py A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. The Future of discord.py Please read the gi

Omkaar 1 Jan 16, 2022