Advertisement
astalush

irssi

Jul 27th, 2017
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3. - Version: MPL 1.1
  4. -
  5. - The contents of this file are subject to the Mozilla Public License Version
  6. - 1.1 (the "License"); you may not use this file except in compliance with
  7. - the License. You may obtain a copy of the License at
  8. - http://www.mozilla.org/MPL/
  9. -
  10. - Software distributed under the License is distributed on an "AS IS" basis,
  11. - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12. - for the specific language governing rights and limitations under the
  13. - License.
  14. -
  15. - The Original Code is IRC Auto Downloader.
  16. -
  17. - The Initial Developer of the Original Code is
  18. - David Nilsson.
  19. - Portions created by the Initial Developer are Copyright (C) 2010
  20. - the Initial Developer. All Rights Reserved.
  21. -
  22. - Contributor(s):
  23. -
  24. - ***** END LICENSE BLOCK ***** -->
  25.  
  26. <trackerinfo
  27. type="flr"
  28. shortName="FLR"
  29. longName="filelist.ro"
  30. siteName="filelist.ro">
  31.  
  32. <settings>
  33. <description text="Go to http://filelist.ro/getrss.php to get th e RSS feed link. Paste it (Ctrl+V) into the text box below to automatically extr act passkey."/>
  34. <passkey/>
  35. </settings>
  36.  
  37. <servers>
  38. <server
  39. network="FileList"
  40. serverNames="irc.filelist.ro"
  41. channelNames="#announce"
  42. announcerNames="Announce"
  43. />
  44. </servers>
  45.  
  46. <parseinfo>
  47. <linepatterns>
  48. <extract>
  49. <regex value="New Torrent: (.*?) (?:-- (.*) )?-- \[(.*)] \[(.*)] -- (https?://filelist.ro/).*id=(.*) -- by (.*)"/>
  50. <vars>
  51. <var name="torrentName"/>
  52. <var name="$releaseTags"/>
  53. <var name="category"/>
  54. <var name="torrentSize"/>
  55. <var name="$baseUrl"/>
  56. <var name="$torrentId"/>
  57. <var name="uploader"/>
  58. </vars>
  59. </extract>
  60. </linepatterns>
  61. <linematched>
  62. <var name="freeleech">
  63. <string value="false"/>
  64. </var>
  65.  
  66. <varreplace name="tags" srcvar="$releaseTags" regex="[\[ \]]" replace=""/>
  67.  
  68. <extracttags srcvar="tags" split="--">
  69. <setvarif varName="origin" regex="^(?:Internal!) $"/>
  70. <setvarif varName="freeleech" value="Freeleech!" newValue="true"/>
  71. </extracttags>
  72.  
  73. <var name="torrentUrl">
  74. <var name="$baseUrl"/>
  75. <string value="download.php?id="/>
  76. <var name="$torrentId"/>
  77. <string value="&amp;file="/>
  78. <varenc name="torrentName"/>
  79. <string value=".torrent&amp;passkey="/>
  80. <var name="passkey"/>
  81. </var>
  82. </linematched>
  83. <ignore>
  84. <regex value="^New!\s*(.*)-" expected="false"/>
  85. </ignore>
  86. </parseinfo>
  87. </trackerinfo>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement