@xokmillzo wrote:
My problem is that I am trying to use REGEX to parse the title from a magnet link. My config looks like the below for the task
templates: movies: imdb: min_score: 5 min_votes: 100 seen_movies: strict download: /path/ quality: - "!workprint" - "!cam" - "!ts" - "!tc" - "!r5" tasks: thepiratebay: template: movies priority: 1 html: url: https://thepiratebay.org/top/201 title_from: url links_re: [ magnet ] manipulate: - title: { from: url, extract: '(?<=&dn=)(.*?)(?=&tr=udp)' } accept_all: yes transmission: host: 127.0.0.1 port: 111 username: User password: Pass path: /path/ addpaused: no archive: yes
When I run this task I get the following
WARNING html thepiratebay title could not be determined for link magnet:?xt=urn:btih:f3e141c4f9d8ed5cf09df56ac69c4ac97a554cab&dn=Goosebumps+%28WebRip+%2F+2015%29&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Fzer0day.ch%3A1337&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fexodus.desync.com%3A6969
Seems that flexget is unable to match anything with the regex I provided. However testing the regex against the string provided in the response logs works fine. Is there something I am missing here?
Thanks!
Posts: 1
Participants: 1