{"action":"created","issue":{"url":"https://api.github.com/repos/hartator/wayback-machine-downloader/issues/17","labels_url":"https://api.github.com/repos/hartator/wayback-machine-downloader/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/hartator/wayback-machine-downloader/issues/17/comments","events_url":"https://api.github.com/repos/hartator/wayback-machine-downloader/issues/17/events","html_url":"https://github.com/hartator/wayback-machine-downloader/issues/17","id":114976432,"number":17,"title":"Can't download website that uses ? in the URL","user":{"login":"Strider-2015","id":15527498,"avatar_url":"https://avatars.githubusercontent.com/u/15527498?v=3","gravatar_id":"","url":"https://api.github.com/users/Strider-2015","html_url":"https://github.com/Strider-2015","followers_url":"https://api.github.com/users/Strider-2015/followers","following_url":"https://api.github.com/users/Strider-2015/following{/other_user}","gists_url":"https://api.github.com/users/Strider-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/Strider-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Strider-2015/subscriptions","organizations_url":"https://api.github.com/users/Strider-2015/orgs","repos_url":"https://api.github.com/users/Strider-2015/repos","events_url":"https://api.github.com/users/Strider-2015/events{/privacy}","received_events_url":"https://api.github.com/users/Strider-2015/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-04T05:58:33Z","updated_at":"2015-11-05T20:58:31Z","closed_at":null,"body":"(Had to start new post since other is closed..)  \r\n\r\nI tried using the / to escape as suggested and using quotes but neither one worked in ruby.  I got parsing errors at ruby command prompt using escapes and I get invalid argument error when I use quotes.\r\n\r\n\r\n********************************************* \r\nStrider-2015\r\n\r\nI'm trying to download a Gothic 3 walkthru from wayback and with an address of\r\n\r\nhttp://www.worldofgothic.com/gothic3/?go=g3walkthrough\r\n\r\nand I get an Invalid argument when using the Start command prompt with ruby. If I use the interactive ruby it tells me I have a syntax error unexpected '?'\r\n\r\nIs there anyway to get this to work using this program? Thanks for any help.\r\n\r\nP.S. First time using this so maybe I'm doing something wrong but I don't think I am. I just type\r\n\r\nwayback_machine_download http://www.worldofgothic.com/gothic3/?go=g3walkthrough at the command prompt. I was also trying to use --timestamp 20121202124458 but either way I think the ? mark causes the problem\r\n@MrOutis\r\nMrOutis commented 2 days ago\r\n\r\nwayback_machine_downloader http://www.worldofgothic.com/gothic3/\\?go\\=g3walkthrough\r\n\r\nTry this, dude. You need to escape special signs like ? or =, this way bash won't interpret them and took them as literals.\r\n\r\nOther way to stop interpretation is by enclosing the line in single quotes:\r\nwayback_machine_downloader 'http://www.worldofgothic.com/gothic3/?go=g3walkthrough'\r\n@hartator\r\nOwner\r\nhartator commented 10 hours ago\r\n\r\n@MrOutis is right, your shell will interpret ? as a trump character and will fail. There is no much we can change in our end.\r\n\r\n@Strider-2015, any of @MrOutis solutions should work. Try escaping the special characters or adding quotes ('abc' or \"abc\") around your url.\r\n\r\nFeel free to follow up here if it doesn't.\r\n"},"comment":{"url":"https://api.github.com/repos/hartator/wayback-machine-downloader/issues/comments/154188893","html_url":"https://github.com/hartator/wayback-machine-downloader/issues/17#issuecomment-154188893","issue_url":"https://api.github.com/repos/hartator/wayback-machine-downloader/issues/17","id":154188893,"user":{"login":"hartator","id":307597,"avatar_url":"https://avatars.githubusercontent.com/u/307597?v=3","gravatar_id":"","url":"https://api.github.com/users/hartator","html_url":"https://github.com/hartator","followers_url":"https://api.github.com/users/hartator/followers","following_url":"https://api.github.com/users/hartator/following{/other_user}","gists_url":"https://api.github.com/users/hartator/gists{/gist_id}","starred_url":"https://api.github.com/users/hartator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartator/subscriptions","organizations_url":"https://api.github.com/users/hartator/orgs","repos_url":"https://api.github.com/users/hartator/repos","events_url":"https://api.github.com/users/hartator/events{/privacy}","received_events_url":"https://api.github.com/users/hartator/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T20:58:31Z","updated_at":"2015-11-05T20:58:31Z","body":"I've tried on my computer and it seems the issue come from the structure of the urls. \r\n\r\nhttp://www.worldofgothic.com/gothic3/?go=g3walkthrough links on the page aren't bellow the `gothic3/?go=g3walkthrough` directory and are ignored.\r\n\r\nWhy not running the tool against the whole `www.worldofgothic.com`? It's only ~ 3502 files, and should take a few hours to download depending on the speed of your connection. Any specific reasons you want only `gothic3/?go=g3walkthrough` part of the website?\r\n\r\nPS: I am not running Windows so it would be tricky to debug the errors specific to this OS."}}