[HELP] fix direct movie link
#1
plugin worked for a long time with dharma and still works with eden but website change movie links again and i couldnt handle it

in site flv link calling with script
[HTML]
function billy()
{

islem("nesne-uye.php","get","olay=sayac&sid=1cd167e8417d691c97ffd695a264bad6","playxf",false);

}[/HTML]

my old code was part 1

Code:
url='http://diziport.com/the_wire_5_sezon-izle/1_bolum/'
req = urllib2.Request(url)
req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3')
response = urllib2.urlopen(req)
link=response.read()
link=link.replace('\xf6',"o").replace('\xd6',"O").replace('\xfc',"u").replace('\xdd',"I").replace('\xfd',"i").replace('\xe7',"c").replace('\xde',"s").replace('\xfe',"s").replace('\xc7',"c").replace('\xf0',"g")
response.close()
match=re.compile('islem\("(.+?)","get","(.+?)"').findall(link)
print match

it returns
[HTML]http://diziport.com/nesne-uye.php?olay=sayac&sid=1cd167e8417d691c97ffd695a264bad6[/HTML]

and second part
Code:
for path,code in match:
        p= path
        c= code
vurl='http://diziport.com/%s?%s' % (p, c)
print vurl
req = urllib2.Request(vurl)
req.add_header('Referer',url)
response = urllib2.urlopen(req)
link2=response.read()
response.close()
movie=re.compile('strSource=(.+?)\'').findall(link2)
print movie
normally it returns direct flv links

But now nothing anybody help to fix this ?

this is the chrome page analyse report
[HTML]
Request URL:http://diziport.com/nesne-uye.php?olay=sayac&sid=1cd167e8417d691c97ffd695a264bad6
Request Method:GET
Status Code:200 OK
Request Headersview parsed
GET /nesne-uye.php?olay=sayac&sid=1cd167e8417d691c97ffd695a264bad6 HTTP/1.1

Host: diziport.com

Connection: keep-alive

X-Requested-With: XMLHttpRequest

User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2

Accept: */*

Referer: http://diziport.com/the_wire_5_sezon-izle/1_bolum/

Accept-Encoding: gzip,deflate,sdch

Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.6,en;q=0.4

Accept-Charset: ISO-8859-9,utf-8;q=0.7,*;q=0.3

Cookie: PHPSESSID=8e1b17ca3eff6a043c6df599d7000166; __unam=f8230fc-133a51da04c-6b71f95b-12; __utma=65336123.1942837904.1321325142.1323341106.1323428538.4; __utmc=65336123; __utmz=65336123.1321325142.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); bbnaut=f1f07f4b2090e847
Query String Parametersview URL encoded
olayConfusedayac
sid:1cd167e8417d691c97ffd695a264bad6
Response Headersview parsed
HTTP/1.1 200 OK

Date: Fri, 09 Dec 2011 12:17:09 GMT

Server: LiteSpeed

Connection: close

X-Powered-By: PHP/5.2.17

Expires: Thu, 19 Nov 1981 08:52:00 GMT

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

Pragma: no-cache

Content-Type: text/html; charset=iso-8859-9

Content-Encoding: gzip

Vary: Accept-Encoding

Content-Length: 1188
[/HTML]
Reply
#2
Is it returning any useful info? Try adding 'print link2'.
Reply
#3
http://diziport.com/nesne-uye.php?olay=s...95a264bad6

it returning http not found 404 error

but "http://diziport.com/nesne-uye.php" (without numbers on end) open web page with "yanlış bir istek yaptınız" means "you ask for wrong thing"
Reply

Logout Mark Read Team Forum Stats Members Help
[HELP] fix direct movie link0