Advertisement
jeancarlos12

3d

May 9th, 2017
2,295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. <item>
  2. <title>[COLOR red]Yan[/COLOR][COLOR yellow]kie[/COLOR][COLOR red]tv[/COLOR] ** [COLOR lime]3D[/COLOR] **</title>
  3. <link>$doregex[makelist2]</link>
  4. <regex>
  5. <name>makelist2</name>
  6. <listrepeat><![CDATA[
  7. <title>[COLOR red]Yan[/COLOR][COLOR yellow]kie[/COLOR][COLOR red]tv[/COLOR] ** [COLOR lime][makelist2.param1][/COLOR] **</title>
  8. <link>$doregex[makelist]</link>
  9. <<thumbnail>http://www.4krender.com/render4k_logo3.jpg</thumbnail>
  10. <fanart>https://i.ytimg.com/vi/fcJZBoCd9BA/hqdefault.jpg</fanart>
  11. ]]></listrepeat>
  12. <expres>3d:"(.*?)" src="(.*?)"</expres>
  13. <page>https:///raw/iiXwFdsh</page>
  14. <cookieJar></cookieJar>
  15. </regex>
  16.  
  17. <regex>
  18. <name>makelist</name>
  19. <listrepeat><![CDATA[
  20. <title>[COLOR red]Yan[/COLOR][COLOR yellow]kie[/COLOR][COLOR red]tv[/COLOR] ** [COLOR lime][makelist.param2][/COLOR] **</title>
  21. <link>$doregex[getUrl]</link>
  22. <thumbnail>http://www.4krender.com/render4k_logo3.jpg</thumbnail>
  23. <fanart>https://i.ytimg.com/vi/fcJZBoCd9BA/hqdefault.jpg</fanart>
  24. ]]></listrepeat>
  25. <expres><![CDATA[class="name[\w\W\s]{0,35}href="(.*?)"[\w\W\s]{0,50}preview">(.*?)<]]></expres>
  26. <page>[makelist2.param2]</page>
  27. <cookieJar></cookieJar>
  28. </regex>
  29.  
  30. <regex>
  31. <name>getUrl</name>
  32. <expres><![CDATA[#$pyFunction
  33. import re , requests ,json
  34. def GetLSProData(page_data,Cookie_Jar,m):
  35. ref = 'http://copiapop.com/'
  36. url='http://copiapop.com[makelist.param1]'
  37. headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux i686; rv:42.0) Gecko/20100101 Firefox/42.0 Iceweasel/42.0', 'Referer': ref ,
  38. 'X-Requested-With' : 'XMLHttpRequest' , 'Accept' : '*/*'}
  39. session = requests.Session()
  40. r = session.get(url, headers=headers)
  41. rv1 = r.cookies
  42. vfile , vtoken = re.findall('action/DownloadFile.*?fileId.*?value="(.*?)".*?Token".*?value="(.*?)"', r.text)[0]
  43. data_a ={'fileId': vfile , '__RequestVerificationToken': vtoken}
  44. nr = requests.post('http://copiapop.com/action/DownloadFile?location=fi&f=%s'%vfile , headers=headers,cookies=rv1 , data=data_a).text
  45. nrj=json.loads(nr)
  46. nr = nrj['Content']
  47. r2 = re.findall(r'(?s)value=\"(.*?)\"', nr)[0]
  48. data_a ={'__RequestVerificationToken': r2 , 'Username': 'amistad' , 'Password' : 'asegurada'}
  49. nr1 = requests.post('http://copiapop.com/action/Account/Login', headers=headers,cookies = rv1 , data=data_a)
  50. print nr1.headers['Set-Cookie']
  51. rasp = re.findall('ASPXAUTH_v2=(.*?);', nr1.headers['Set-Cookie'])[0]
  52. rv1['.ASPXAUTH_v2'] = rasp
  53. data_a ={'fileId': vfile , '__RequestVerificationToken': vtoken}
  54. nr3 = requests.post(File?location=fi&f=%s'%vfile , headers=headers, cookies = rv1 , data=data_a).text
  55. r3 = re.findall('DownloadUrl":"(.*?)"', nr3)[0]
  56. print r3
  57. return r3
  58. ]]></expres>
  59. <page></page>
  60. <cookieJar></cookieJar>
  61. </regex>
  62. <thumbnail>http://www.4krender.com/render4k_logo3.jpg</thumbnail>
  63. <fanart>https://i.ytimg.com/vi/fcJZBoCd9BA/hqdefault.jpg</fanart>
  64. </item>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement