Menu

[f7b098]: / rapidvideo.py  Maximize  Restore  History

Download this file

28 lines (19 with data), 704 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/python
# -*- coding: iso-8859-15 -*-
import shared
from htmlparser import between
def resolver():
shared.r.GET(shared.URL)
if shared.r.Page.find("File Not Found") > -1:
print "Hoster says: File not found"
return
shared.filename = between(shared.r.Page, '<h2>Download File ', '</h2>')
f = shared.r.Page.findForm(action='')
f.input['method_premium'].value = ''
shared.r.submit(f)
packed = shared.r.Page.findEval(2).deobfuscate()
# shared.URL = between(packed, "addVariable(\\'file\\',\\'", "\\'").replace("files//","files/6/")
shared.URL = between(packed, '"src="', '"').replace("//","/d/").replace(":/d/","://")
if __name__ == "__main__":
from retrieve import main
main()