Skip to content

Instantly share code, notes, and snippets.

@lubosz
Created January 18, 2017 20:59
Show Gist options
  • Select an option

  • Save lubosz/012666e1badce89d142dd9e40d92935f to your computer and use it in GitHub Desktop.

Select an option

Save lubosz/012666e1badce89d142dd9e40d92935f to your computer and use it in GitHub Desktop.
def CATEGORIES():
link = OPEN_URL('https://www.dropbox.com/s/349snvqah3dkaob/wizard.txt?dl=1').replace('\n','').replace('\r','')
match = re.compile('name="(.+?)".+?rl="(.+?)".+?mg="(.+?)".+?anart="(.+?)".+?escription="(.+?)"').findall(link)
for name,url,iconimage,fanart,description in match:
addDir(name,url,1,iconimage,fanart,description)
setView('movies', 'MAIN')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment