[HELP] resolve redirecting link "twidvid" [SOLVED]
#1
i have a link
Quote:http://www.filmifullizle.com/db/tw-0LTBY.mp4

iexplorer send resolved link to windows media player like that..

Quote:http://llcdn8.twitvid.com/twitvidvideosv...80cf8fe49c

when i use chrome it's offering to download to mp4 file but xbmc dont play first link but resolved link playable...

with urllib2.Request(url) python cannot read anything i need to help to resolve link....
Reply
#2
ok guys i handle it with mechanize i wrote the code to need anyone else... Smile
Quote:import mechanize
request = mechanize.Request("http://www.filmifullizle.com/db/tw-0LTBY.mp4")
response = mechanize.urlopen(request)
print response.geturl()
Reply
#3
FYI, you can do the same with urllib2.

Code:
request = urllib2.Request("http://www.filmifullizle.com/db/tw-0LTBY.mp4")
response = urllib2.urlopen(request)
print response.geturl()
Reply

Logout Mark Read Team Forum Stats Members Help
[HELP] resolve redirecting link "twidvid" [SOLVED]0