Browse Source

rutracker: fix re

master
imDMG 5 years ago
parent
commit
4f0869db97
  1. 4
      rutracker.py

4
rutracker.py

@ -1,4 +1,4 @@
# VERSION: 1.1 # VERSION: 1.2
# AUTHORS: imDMG [imdmgg@gmail.com] # AUTHORS: imDMG [imdmgg@gmail.com]
# rutracker.org search engine plugin for qBittorrent # rutracker.org search engine plugin for qBittorrent
@ -46,7 +46,7 @@ def rng(t):
PATTERNS = (r'(\d{1,3})\s<span', PATTERNS = (r'(\d{1,3})\s<span',
r'bold"\shref="(viewtopic\.php\?t=\d+)">(.+?)</a.+?(dl\.php\?t=\d+)' r'bold"\shref="(viewtopic\.php\?t=\d+)">(.+?)</a.+?(dl\.php\?t=\d+)'
r'" >(.+?)\s&.+?data-ts_text="(.+?)">.+?Личи">(\d+)</.+?data-ts_' r'">(.+?)\s&.+?data-ts_text="(.+?)">.+?Личи">(\d+)</.+?data-ts_'
r'text="(\d+)"', '%s/tracker.php?nm=%s&c=%s', "%s&start=%s") r'text="(\d+)"', '%s/tracker.php?nm=%s&c=%s', "%s&start=%s")
FILENAME = __file__[__file__.rfind('/') + 1:-3] FILENAME = __file__[__file__.rfind('/') + 1:-3]

Loading…
Cancel
Save