Advertisement
Lourdesvd

Prueba tacones

Jun 18th, 2018
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.37 KB | None | 0 0
  1.  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2.  
  3.  
  4.  
  5.  
  6.  
  7. <item>
  8.  
  9.  
  10.  
  11. <title>[COLOR red]CINE SAGAS[/COLOR]     [COLOR white]ACCION[/COLOR]</title>
  12.  
  13.  
  14.  
  15. <link>$doregex[makelist]</link>
  16.  
  17.  
  18.  
  19. <regex>
  20.  
  21.  
  22.  
  23.   <name>makelist</name>
  24.  
  25.  
  26.  
  27.   <listrepeat><![CDATA[
  28.  
  29.  
  30.  
  31.         <title>[COLOR white][makelist.param2][/COLOR]  [COLOR red]ACCION[/COLOR]</title>
  32.  
  33.  
  34.  
  35.         <link>$doregex[getUrl]</link>
  36.  
  37.  
  38.  
  39.         <thumbnail>https://i.imgur.com/PAtt3i1.png</thumbnail>
  40.  
  41.  
  42.  
  43.         <fanart>https://i.imgur.com/rImlaDf.jpg</fanart>
  44.  
  45.  
  46.  
  47. ]]></listrepeat>
  48.  
  49.  
  50.  
  51. <expres><![CDATA[class="name[\w\W\s]{0,35}href="(.*?)"[\w\W\s]{0,50}preview">(.*?)<]]></expres>
  52.  
  53.  
  54.  
  55. <page>http://k-bagi.com/juanleiva/cine-de-accion-sagas-538861/gallery,1,200</page>
  56.  
  57.  
  58.  
  59. <cookieJar></cookieJar>
  60.  
  61.  
  62.  
  63. </regex>
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71. <regex><name>getUrl</name>
  72.  
  73.  
  74.  
  75. <expres><![CDATA[#$pyFunction
  76.  
  77.  
  78.  
  79. import re , requests ,json
  80.  
  81.  
  82.  
  83. def GetLSProData(page_data,Cookie_Jar,m):
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  ref = 'http://k-bagi.com/'
  92.  
  93.  
  94.  
  95.  url='http://k-bagi.com[makelist.param1]'
  96.  
  97.  
  98.  
  99.  headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux i686; rv:42.0) Gecko/20100101 Firefox/42.0 Iceweasel/42.0', 'Referer': ref ,
  100.  
  101.  
  102.  
  103.             'X-Requested-With' : 'XMLHttpRequest' , 'Accept' : '*/*'}
  104.  
  105.  
  106.  
  107.  session = requests.Session()
  108.  
  109.  
  110.  
  111.  r = session.get(url, headers=headers)
  112.  
  113.  
  114.  
  115.  rv1 = r.cookies
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  vfile , vtoken = re.findall('action/DownloadFile.*?fileId.*?value="(.*?)".*?Token".*?value="(.*?)"', r.text)[0]
  124.  
  125.  
  126.  
  127.  data_a ={'fileId': vfile , '__RequestVerificationToken': vtoken}
  128.  
  129.  
  130.  
  131.  nr = requests.post('http://k-bagi.com/action/DownloadFile?location=fi&f=%s'%vfile , headers=headers,cookies=rv1 , data=data_a).text
  132.  
  133.  
  134.  
  135.  nrj=json.loads(nr)
  136.  
  137.  
  138.  
  139.  nr = nrj['Content']
  140.  
  141.  
  142.  
  143.  r2 = re.findall(r'(?s)value=\"(.*?)\"', nr)[0]
  144.  
  145.  
  146.  
  147.  data_a ={'__RequestVerificationToken': r2 , 'Username': 'maladelanovela' , 'Password' : 'tacones'}
  148.  
  149.  
  150.  
  151.  nr1 = requests.post('http://k-bagi.com/action/Account/Login', headers=headers,cookies = rv1 , data=data_a)
  152.  
  153.  
  154.  
  155.  print nr1.headers['Set-Cookie']
  156.  
  157.  
  158.  
  159.  rasp = re.findall('ASPXAUTH_v2=(.*?);', nr1.headers['Set-Cookie'])[0]
  160.  
  161.  
  162.  
  163.  rv1['.ASPXAUTH_v2'] = rasp
  164.  
  165.  
  166.  
  167.  data_a ={'fileId': vfile , '__RequestVerificationToken': vtoken}
  168.  
  169.  
  170.  
  171.  nr3 = requests.post('http://k-bagi.com/action/DownloadFile?location=fi&f=%s'%vfile , headers=headers, cookies = rv1 , data=data_a).text
  172.  
  173.  
  174.  
  175.  r3 = re.findall('DownloadUrl":"(.*?)"', nr3)[0]
  176.  
  177.  
  178.  
  179.  print r3
  180.  
  181.  
  182.  
  183.  return r3
  184.  
  185.  
  186.  
  187. ]]></expres>
  188.  
  189.  
  190.  
  191. <page></page>
  192.  
  193.  
  194.  
  195. <cookieJar></cookieJar>
  196.  
  197.  
  198.  
  199. </regex>
  200.  
  201.  
  202.  
  203. <thumbnail>https://i.imgur.com/PAtt3i1.png</thumbnail>
  204.  
  205.  
  206.  
  207. <fanart>https://i.imgur.com/rImlaDf.jpg</fanart>
  208.  
  209.  
  210.  
  211. </item>
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219. <item>
  220.  
  221.  
  222.  
  223. <title>[COLOR red]CINE SAGAS[/COLOR]     [COLOR white]AVENTURAS[/COLOR]</title>
  224.  
  225.  
  226.  
  227. <link>$doregex[makelist]</link>
  228.  
  229.  
  230.  
  231. <regex>
  232.  
  233.  
  234.  
  235.   <name>makelist</name>
  236.  
  237.  
  238.  
  239.   <listrepeat><![CDATA[
  240.  
  241.  
  242.  
  243.         <title>[COLOR white][makelist.param2][/COLOR]  [COLOR red]AVENTURAS[/COLOR]</title>
  244.  
  245.  
  246.  
  247.         <link>$doregex[getUrl]</link>
  248.  
  249.  
  250.  
  251.         <thumbnail>https://i.imgur.com/S6ObYc2.png</thumbnail>
  252.  
  253.  
  254.  
  255.         <fanart>https://i.imgur.com/yA5fgnB.jpg</fanart>
  256.  
  257.  
  258.  
  259. ]]></listrepeat>
  260.  
  261.  
  262.  
  263. <expres><![CDATA[class="name[\w\W\s]{0,35}href="(.*?)"[\w\W\s]{0,50}preview">(.*?)<]]></expres>
  264.  
  265.  
  266.  
  267. <page>http://k-bagi.com/juanleiva/cine-de-aventuras-sagas-538857/gallery,1,200</page>
  268.  
  269.  
  270.  
  271. <cookieJar></cookieJar>
  272.  
  273.  
  274.  
  275. </regex>
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283. <regex><name>getUrl</name>
  284.  
  285.  
  286.  
  287. <expres><![CDATA[#$pyFunction
  288.  
  289.  
  290.  
  291. import re , requests ,json
  292.  
  293.  
  294.  
  295. def GetLSProData(page_data,Cookie_Jar,m):
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  ref = 'http://k-bagi.com/'
  304.  
  305.  
  306.  
  307.  url='http://k-bagi.com[makelist.param1]'
  308.  
  309.  
  310.  
  311.  headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux i686; rv:42.0) Gecko/20100101 Firefox/42.0 Iceweasel/42.0', 'Referer': ref ,
  312.  
  313.  
  314.  
  315.             'X-Requested-With' : 'XMLHttpRequest' , 'Accept' : '*/*'}
  316.  
  317.  
  318.  
  319.  session = requests.Session()
  320.  
  321.  
  322.  
  323.  r = session.get(url, headers=headers)
  324.  
  325.  
  326.  
  327.  rv1 = r.cookies
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  vfile , vtoken = re.findall('action/DownloadFile.*?fileId.*?value="(.*?)".*?Token".*?value="(.*?)"', r.text)[0]
  336.  
  337.  
  338.  
  339.  data_a ={'fileId': vfile , '__RequestVerificationToken': vtoken}
  340.  
  341.  
  342.  
  343.  nr = requests.post('http://k-bagi.com/action/DownloadFile?location=fi&f=%s'%vfile , headers=headers,cookies=rv1 , data=data_a).text
  344.  
  345.  
  346.  
  347.  nrj=json.loads(nr)
  348.  
  349.  
  350.  
  351.  nr = nrj['Content']
  352.  
  353.  
  354.  
  355.  r2 = re.findall(r'(?s)value=\"(.*?)\"', nr)[0]
  356.  
  357.  
  358.  
  359.  data_a ={'__RequestVerificationToken': r2 , 'Username': 'maladelanovela' , 'Password' : 'tacones'}
  360.  
  361.  
  362.  
  363.  nr1 = requests.post('http://k-bagi.com/action/Account/Login', headers=headers,cookies = rv1 , data=data_a)
  364.  
  365.  
  366.  
  367.  print nr1.headers['Set-Cookie']
  368.  
  369.  
  370.  
  371.  rasp = re.findall('ASPXAUTH_v2=(.*?);', nr1.headers['Set-Cookie'])[0]
  372.  
  373.  
  374.  
  375.  rv1['.ASPXAUTH_v2'] = rasp
  376.  
  377.  
  378.  
  379.  data_a ={'fileId': vfile , '__RequestVerificationToken': vtoken}
  380.  
  381.  
  382.  
  383.  nr3 = requests.post('http://k-bagi.com/action/DownloadFile?location=fi&f=%s'%vfile , headers=headers, cookies = rv1 , data=data_a).text
  384.  
  385.  
  386.  
  387.  r3 = re.findall('DownloadUrl":"(.*?)"', nr3)[0]
  388.  
  389.  
  390.  
  391.  print r3
  392.  
  393.  
  394.  
  395.  return r3
  396.  
  397.  
  398.  
  399. ]]></expres>
  400.  
  401.  
  402.  
  403. <page>http://k-bagi.com/juanleiva/cine-de-aventuras-sagas-538857/gallery,1,200</page>
  404.  
  405.  
  406.  
  407. <cookieJar></cookieJar>
  408.  
  409.  
  410.  
  411. </regex>
  412.  
  413.  
  414.  
  415. <thumbnail>https://i.imgur.com/S6ObYc2.png</thumbnail>
  416.  
  417.  
  418.  
  419. <fanart>https://i.imgur.com/yA5fgnB.jpg</fanart>
  420.  
  421.  
  422.  
  423. </item>
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431. <item>
  432.  
  433.  
  434.  
  435. <title>[COLOR red]CINE SAGAS[/COLOR]     [COLOR white]CIENCIA FICCION[/COLOR]</title>
  436.  
  437.  
  438.  
  439. <link>$doregex[makelist]</link>
  440.  
  441.  
  442.  
  443. <regex>
  444.  
  445.  
  446.  
  447.   <name>makelist</name>
  448.  
  449.  
  450.  
  451.   <listrepeat><![CDATA[
  452.  
  453.  
  454.  
  455.         <title>[COLOR white][makelist.param2][/COLOR]  [COLOR red]CIENCIA FICCION[/COLOR]</title>
  456.  
  457.  
  458.  
  459.         <link>$doregex[getUrl]</link>
  460.  
  461.  
  462.  
  463.         <thumbnail>https://i.imgur.com/uaVUM6H.png</thumbnail>
  464.  
  465.  
  466.  
  467.         <fanart>https://i.imgur.com/94q6I9A.jpg</fanart>
  468.  
  469.  
  470.  
  471. ]]></listrepeat>
  472.  
  473.  
  474.  
  475. <expres><![CDATA[class="name[\w\W\s]{0,35}href="(.*?)"[\w\W\s]{0,50}preview">(.*?)<]]></expres>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement