tnaflix videos in fantasti.cc fail with the error:
ERROR: Error Type: <type 'exceptions.UnboundLocalError'>
ERROR: Error Contents: local variable 'urlget2' referenced before assignment
The following code block (most probably an actual or derived earlier version of
the current block), if used instead of the current 'tnaflix' block, solves the
error:
-------
elif 'tnaflix' in url:
match = re.compile('<param name="FlashVars" value="(.+?)"/>'
).findall(html)
for gurl in match:
purl = string.split(gurl, '?')[1]
urlget2 = 'http://www.tnaflix.com/embedding_player/' \
'embedding_feed.php?' + purl
html = get_html(urlget2)
match = re.compile('<file>(.+?)</file>').findall(html)
for each in match:
fetchurl = each
print 'fetchurl: %s' % fetchurl
return fetchurl
--------
Original issue reported on code.google.com by leonmar...@gmail.com on 13 Aug 2013 at 1:50
Original issue reported on code.google.com by
leonmar...@gmail.com
on 13 Aug 2013 at 1:50