You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 [email protected] on 13 Aug 2013 at 1:50
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 13 Aug 2013 at 1:50The text was updated successfully, but these errors were encountered: