kunz Stream Scene Share

Stream Scene Share

From kunz
Revision as of 23:08, 30 September 2021 by Admin (talk | contribs) (Created page with "<syntaxhighlight lang='python'> import re, urlopen url = 'http://hip.johnkunz.com/ttv/' html = urllib.request.urlopen(url).read() hip = sorted( re.findall(r'href=[\'"]?([^\'"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
import re, urlopen
url = 'http://hip.johnkunz.com/ttv/'
html = urllib.request.urlopen(url).read()
hip = sorted( re.findall(r'href=[\'"]?([^\'" >]+)', html )[5:], reverse=True)[0]
hou.hipFile.merge(url+hip)
import re, urllib2
url = 'http://hip.johnkunz.com/ttv/'
html = urllib2.urlopen(url).read()
hip = sorted( re.findall(r'href=[\'"]?([^\'" >]+)', html )[5:], reverse=True)[0]
hou.hipFile.merge(url+hip)