{"action":"created","issue":{"url":"https://api.github.com/repos/aria2/aria2/issues/1298","repository_url":"https://api.github.com/repos/aria2/aria2","labels_url":"https://api.github.com/repos/aria2/aria2/issues/1298/labels{/name}","comments_url":"https://api.github.com/repos/aria2/aria2/issues/1298/comments","events_url":"https://api.github.com/repos/aria2/aria2/issues/1298/events","html_url":"https://github.com/aria2/aria2/issues/1298","id":381869257,"node_id":"MDU6SXNzdWUzODE4NjkyNTc=","number":1298,"title":"[1.34.0] mirrorbrain detects and rejects downloads through aria2, despite disguise as wget","user":{"login":"hartwork","id":1577132,"node_id":"MDQ6VXNlcjE1NzcxMzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1577132?v=4","gravatar_id":"","url":"https://api.github.com/users/hartwork","html_url":"https://github.com/hartwork","followers_url":"https://api.github.com/users/hartwork/followers","following_url":"https://api.github.com/users/hartwork/following{/other_user}","gists_url":"https://api.github.com/users/hartwork/gists{/gist_id}","starred_url":"https://api.github.com/users/hartwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartwork/subscriptions","organizations_url":"https://api.github.com/users/hartwork/orgs","repos_url":"https://api.github.com/users/hartwork/repos","events_url":"https://api.github.com/users/hartwork/events{/privacy}","received_events_url":"https://api.github.com/users/hartwork/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-17T14:46:20Z","updated_at":"2018-11-18T08:45:52Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\n\r\nI'm using aria2 to download source tarballs (of [GNOME Meld](https://meldmerge.org/)) with [fetchcommandwrapper](https://github.com/gentoo/fetchcommandwrapper). The precise call to aria2 is this:\r\n```\r\n/usr/bin/aria2c -d /usr/portage/distfiles -o meld-3.18.3.tar.xz --allow-overwrite=true --max-tries=5 --max-file-not-found=2 --user-agent=Wget/1.19.1 --split=1 --max-connection-per-server=1 --uri-selector=inorder https://download.gnome.org/sources/meld/3.18/meld-3.18.3.tar.xz\r\n```\r\nInterestingly, the GNOME server runs [mirrorbrain](http://www.mirrorbrain.org/), detects aria2c somehow (despite the cheap disguise as wget) and returns metalink XML rather than the [`.xz` file I requested](https://github.com/aria2/aria2/files/2591906/meld-3.18.3.tar.xz.xml.txt). Does not happen with actual wget 1.19.5. Bumping the disguise user agent version to 1.19.5 does not help or change anything I would notice.\r\n\r\nBecause I'm only using a single connection and a single split, that use of aria2 seems perfectly ethical to me and don't really appreciate being blocked for something ethical. I wonder if you know about this behaviour and what you think about it.\r\n\r\nAttachments:\r\n* [meld-3.18.3.tar.xz.xml.txt](https://github.com/aria2/aria2/files/2591906/meld-3.18.3.tar.xz.xml.txt) — Metalink XML returned by GNOME's mirrorbrain"},"comment":{"url":"https://api.github.com/repos/aria2/aria2/issues/comments/439676954","html_url":"https://github.com/aria2/aria2/issues/1298#issuecomment-439676954","issue_url":"https://api.github.com/repos/aria2/aria2/issues/1298","id":439676954,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTY3Njk1NA==","user":{"login":"tatsuhiro-t","id":404610,"node_id":"MDQ6VXNlcjQwNDYxMA==","avatar_url":"https://avatars0.githubusercontent.com/u/404610?v=4","gravatar_id":"","url":"https://api.github.com/users/tatsuhiro-t","html_url":"https://github.com/tatsuhiro-t","followers_url":"https://api.github.com/users/tatsuhiro-t/followers","following_url":"https://api.github.com/users/tatsuhiro-t/following{/other_user}","gists_url":"https://api.github.com/users/tatsuhiro-t/gists{/gist_id}","starred_url":"https://api.github.com/users/tatsuhiro-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatsuhiro-t/subscriptions","organizations_url":"https://api.github.com/users/tatsuhiro-t/orgs","repos_url":"https://api.github.com/users/tatsuhiro-t/repos","events_url":"https://api.github.com/users/tatsuhiro-t/events{/privacy}","received_events_url":"https://api.github.com/users/tatsuhiro-t/received_events","type":"User","site_admin":false},"created_at":"2018-11-18T08:45:52Z","updated_at":"2018-11-18T08:45:52Z","author_association":"COLLABORATOR","body":"You are right that Accept header for metalink is sent regardless of whether metalink feature is built-in or not."}}
{"actor":{"display_login":"tatsuhiro-t"}}