{"action":"created","issue":{"url":"https://api.github.com/repos/nyaadevs/nyaa/issues/45","repository_url":"https://api.github.com/repos/nyaadevs/nyaa","labels_url":"https://api.github.com/repos/nyaadevs/nyaa/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/nyaadevs/nyaa/issues/45/comments","events_url":"https://api.github.com/repos/nyaadevs/nyaa/issues/45/events","html_url":"https://github.com/nyaadevs/nyaa/issues/45","id":228519675,"number":45,"title":"Flexget - broken or invalid torrent file received","user":{"login":"daysnights","id":14228087,"avatar_url":"https://avatars1.githubusercontent.com/u/14228087?v=3","gravatar_id":"","url":"https://api.github.com/users/daysnights","html_url":"https://github.com/daysnights","followers_url":"https://api.github.com/users/daysnights/followers","following_url":"https://api.github.com/users/daysnights/following{/other_user}","gists_url":"https://api.github.com/users/daysnights/gists{/gist_id}","starred_url":"https://api.github.com/users/daysnights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daysnights/subscriptions","organizations_url":"https://api.github.com/users/daysnights/orgs","repos_url":"https://api.github.com/users/daysnights/repos","events_url":"https://api.github.com/users/daysnights/events{/privacy}","received_events_url":"https://api.github.com/users/daysnights/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-05-14T05:24:31Z","updated_at":"2017-05-25T08:19:18Z","closed_at":"2017-05-14T17:18:16Z","body":"Currently use [Flexget](https://github.com/Flexget/Flexget) to get the .torrent files from the RSS feed. With the old Nyaa it worked, with new Nyaa I get a \"broken or invalid torrent file received\" error.\r\n\r\n````2017-05-14 07:03 VERBOSE  task          task linux         REJECTED: `Totally_legal_linux_iso.iso` by retry_failed plugin because has already failed 6 times in the past. (failure reason: trailing junk - broken or invalid torrent file received)````\r\n\r\nI suspect this might be related to your download links for .torrent files. I tested this by doing a:\r\n\r\n````# wget https://nyaa.si/view/legal_linux_iso/torrent````\r\n\r\nfor one of the download links provided and it downloaded a file called \"torrent\", not the expected \"legal_linux_iso.torrent\" file.\r\n\r\nPossibly whatever fancy redirect is going on is breaking on downloaders."},"comment":{"url":"https://api.github.com/repos/nyaadevs/nyaa/issues/comments/303952380","html_url":"https://github.com/nyaadevs/nyaa/issues/45#issuecomment-303952380","issue_url":"https://api.github.com/repos/nyaadevs/nyaa/issues/45","id":303952380,"user":{"login":"TheAMM","id":6820963,"avatar_url":"https://avatars3.githubusercontent.com/u/6820963?v=3","gravatar_id":"","url":"https://api.github.com/users/TheAMM","html_url":"https://github.com/TheAMM","followers_url":"https://api.github.com/users/TheAMM/followers","following_url":"https://api.github.com/users/TheAMM/following{/other_user}","gists_url":"https://api.github.com/users/TheAMM/gists{/gist_id}","starred_url":"https://api.github.com/users/TheAMM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheAMM/subscriptions","organizations_url":"https://api.github.com/users/TheAMM/orgs","repos_url":"https://api.github.com/users/TheAMM/repos","events_url":"https://api.github.com/users/TheAMM/events{/privacy}","received_events_url":"https://api.github.com/users/TheAMM/received_events","type":"User","site_admin":false},"created_at":"2017-05-25T08:19:18Z","updated_at":"2017-05-25T08:19:18Z","body":"FlexGet doesn't consider `filename*=UTF-8''` in `PluginDownload.filename_from_headers`, but they can't really be blamed since the `Content-Disposition` standards are different in every browser.\r\n\r\nPushing a fix with a failsafe now."}}
{"actor":{"display_login":"TheAMM"}}