Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown url type error should NOT be reported for magnet URIs #3944

Open
de666 opened this issue Feb 29, 2024 · 0 comments
Open

unknown url type error should NOT be reported for magnet URIs #3944

de666 opened this issue Feb 29, 2024 · 0 comments

Comments

@de666
Copy link

de666 commented Feb 29, 2024

Expected behaviour:

using plugins which handles magnet URIs correctly (eg. convert_magnet or rtorrent_magnet), no errors should be reported in logfile
since the URI is handled correctly, and correctly reported (as log INFO)

2024-02-29 11:45:15 INFO     rtorrent_magnet task_a          Writing rTorrent Magnet File: /data/meta-True Detective S04E04 Night Country Parte 4 ITA ENG 1080p AMZN WEB DL DD5 1 H 264 MeM GP mkv.torrent

Actual behaviour:

error reported before INFO line

2024-02-29 11:45:15 ERROR    utils.requests task_a          Error getting magnet:?xt=urn:btih:BDB7F8CCD33D752343D19718D0C3AA1E2A98804E&dn=True+Detective+S04E04+Night+Country+Parte+4+ITA+ENG+1080p+AMZN+WEB-DL+DD5+1+H+264-MeM+GP+mkv&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fbt1.archive.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Ftracker.dler.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2710%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.open-internet.nl%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.si%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Fdenis.stalker.upeer.me%3A6969%2Fannounce&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce: <urlopen error unknown url type: magnet>

Steps to reproduce:

  • configure rss plugin as input
  • allow redirect (necessary otherwise no torrent file is downloaded)
  • configure some plugins which handles magnet uri download (convert_magnet or rtorrent_magnet)
  • run the task

Config:

web_server:
  bind: 0.0.0.0
  port: 5050
  web_ui: yes

tasks:
  task_a:
    redirect_url: yes
    no_entries_ok: yes
    rss:
        url: http://xxxx:9117/api/v2.0/indexers/limetorrents/results/torznab/api?apikey=xxxx&t=search&cat=5000&q=1080p
        all_entries: no
    rtorrent_magnet: /data/
    series:
      - True Detective

schedules:
  - tasks: [task_a]
    interval:
      minutes: 30

Log:

(click to expand)
2024-02-29 11:45:15 ERROR    utils.requests task_a          Error getting magnet:?xt=urn:btih:BDB7F8CCD33D752343D19718D0C3AA1E2A98804E&dn=True+Detective+S04E04+Night+Country+Parte+4+ITA+ENG+1080p+AMZN+WEB-DL+DD5+1+H+264-MeM+GP+mkv&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fbt1.archive.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Ftracker.dler.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2710%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.open-internet.nl%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.si%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Fdenis.stalker.upeer.me%3A6969%2Fannounce&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce: <urlopen error unknown url type: magnet>
2024-02-29 11:45:15 INFO     rtorrent_magnet task_a          Writing rTorrent Magnet File: /data/meta-True Detective S04E04 Night Country Parte 4 ITA ENG 1080p AMZN WEB DL DD5 1 H 264 MeM GP mkv.torrent

Additional information:

@de666 de666 changed the title unknown url type error shuold NOT be reported for magnet URIs unknown url type error should NOT be reported for magnet URIs Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant