Advertisement
Guest User

piratebay.ini

a guest
Aug 30th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [script]
  2. name=PirateBay.se
  3. source=PirateBay.se
  4. author=chip
  5. modified=Bovski(ASC) 2012/10/19, Bovski 2013/03/03, chip 2016/06/06
  6. enabled=1
  7. version=3
  8. cookie=tpb=1;
  9.  
  10. [home]
  11. 1=https://thepiratebay.org
  12. 2=https://thepiratebay.se
  13. 3=https://piratenproxy.nl/thepiratebay.org/
  14. 4=https://piratenproxy.nl/thepiratebay.se/
  15. 5=https://pirateproxy.pe/
  16.  
  17. [profiles]
  18. all=search/%SEARCH%/%PAGENUM%/99/0
  19. audio=search/%SEARCH%/%PAGENUM%/99/100
  20. video=search/%SEARCH%/%PAGENUM%/99/200
  21. apps=search/%SEARCH%/%PAGENUM%/99/300
  22. games=search/%SEARCH%/%PAGENUM%/99/400
  23.  
  24. [nextpage]
  25. type=1
  26. initial=0
  27. morepages=/img/next.gif
  28.  
  29. [code1]
  30. x=findh(x,@data,`searchResult`,`</tr`,`>`,)
  31. z=find(x,@data,`</table>`)
  32. @data=crop(@data,x,z)
  33. @data=decodetext(@data)
  34. @data=vacuum(@data)
  35. @data=replace(@data,`</TD>`,`<!--EOL--></TD>`)
  36. @data=replace(@data,`TiB`,`TB<!--EOS-->`)
  37. @data=replace(@data,`GiB`,`GB<!--EOS-->`)
  38. @data=replace(@data,`MiB`,`MB<!--EOS-->`)
  39. @data=replace(@data,`KiB`,`KB<!--EOS-->`)
  40. @data=replace(@data,` `,` `)
  41. @r=split(@data,`</tr>`)
  42.  
  43. j=find(9,@home,`/`)
  44. if (j>0) then
  45.     j=-(1)
  46.     hom=mid(@home,1,j)
  47.     homln=len(hom)
  48. end if
  49.  
  50. start
  51. @q=split(@r,`</td>`,2)
  52. t=array(@q,1)
  53. $page=extract(@i,t,`href="`,`"`)
  54.  
  55. if (homln>0) then
  56.     $page=&(hom,$page)
  57. else
  58.     $page=&(@home,$page)
  59. end if
  60.  
  61. @i=find(@i,t,`detLink`)
  62. $name=extract(@i,t,`>`,`</a>`)
  63. k=find(1,t,`/img/dl.gif`)
  64. j=find(1,t,`/img/icon-magnet.gif`)
  65.  
  66. if (k>j and j>1) then
  67.     @i=findrev(k,t,`<a `)
  68.     $torrent=extract(@i,t,`href="`,`"`)
  69.     k=mid($torrent,1,1)
  70.     j=mid($torrent,1,4)
  71. else
  72.     @i=findrev(j,t,`<a `)
  73.     $torrent=extract(@i,t,`href="`,`"`)
  74.     k=put(`mag`)
  75.     j=put(``)
  76. end if
  77.  
  78. if (homln>0 and k=`/`)
  79.     $torrent=&(hom,$torrent)
  80. elseif (k!`mag` and j!`http`)
  81.     $torrent=&(@home,$torrent)
  82. end if
  83.  
  84. @i=find(@i,t,`"detDesc">Uploaded`)
  85. $date=extract(@i,t,` `,`,`)
  86. $size=extract(@i,t,`Size `,`<!--EOS-->`)
  87. $seeds=array(@q,2)
  88. $leeches=array(@q,3)
  89. aloop
  90. [/code1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement