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 the script in your addon.xml
<requires>
<import addon="script.module.resolveurl" version="5.1.00"/>
</requires>
Import ResolveUrl and use it the same as you would with the UrlResolver
import resolveurl
if resolveurl.HostedMediaFile(url):
resolved = resolveurl.resolve(url)
Or you can import ResolveUrl as UrlResolver to your existing addon that uses the UrlResolver
import resolveurl as urlresolver
resolved = urlresolver.resolve(url)
Include gujal 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>