{"action":"created","issue":{"url":"https://api.github.com/repos/Bionus/imgbrd-grabber/issues/420","labels_url":"https://api.github.com/repos/Bionus/imgbrd-grabber/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/Bionus/imgbrd-grabber/issues/420/comments","events_url":"https://api.github.com/repos/Bionus/imgbrd-grabber/issues/420/events","html_url":"https://github.com/Bionus/imgbrd-grabber/issues/420","id":111298491,"number":420,"title":"Gelbooru error loading image","user":{"login":"Commiesrock","id":15115784,"avatar_url":"https://avatars.githubusercontent.com/u/15115784?v=3","gravatar_id":"","url":"https://api.github.com/users/Commiesrock","html_url":"https://github.com/Commiesrock","followers_url":"https://api.github.com/users/Commiesrock/followers","following_url":"https://api.github.com/users/Commiesrock/following{/other_user}","gists_url":"https://api.github.com/users/Commiesrock/gists{/gist_id}","starred_url":"https://api.github.com/users/Commiesrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Commiesrock/subscriptions","organizations_url":"https://api.github.com/users/Commiesrock/orgs","repos_url":"https://api.github.com/users/Commiesrock/repos","events_url":"https://api.github.com/users/Commiesrock/events{/privacy}","received_events_url":"https://api.github.com/users/Commiesrock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-14T00:27:49Z","updated_at":"2015-10-14T03:05:31Z","closed_at":null,"body":"When trying to view any image from Gelbooru the grabber, I get this error message. File path is just an example.\r\n\r\n---------------------------\r\nError\r\n---------------------------\r\nUne erreur inattendue est survenue lors du chargement de l'image (202).\r\nhttp://simg4.gelbooru.com/images/5c/17/5c171ce853e18319345f9af55b2b841e.png\r\n---------------------------\r\nOK   \r\n---------------------------\r\n\r\nI can view the image in my browser fine, and the path is \r\nhttp://simg4.gelbooru.com//images/5c/17/5c171ce853e18319345f9af55b2b841e.png\r\nwhich you can see has '//images' instead of '/images'. Other sources don't have any issues loading images."},"comment":{"url":"https://api.github.com/repos/Bionus/imgbrd-grabber/issues/comments/147911129","html_url":"https://github.com/Bionus/imgbrd-grabber/issues/420#issuecomment-147911129","issue_url":"https://api.github.com/repos/Bionus/imgbrd-grabber/issues/420","id":147911129,"user":{"login":"Keyarose","id":1906772,"avatar_url":"https://avatars.githubusercontent.com/u/1906772?v=3","gravatar_id":"","url":"https://api.github.com/users/Keyarose","html_url":"https://github.com/Keyarose","followers_url":"https://api.github.com/users/Keyarose/followers","following_url":"https://api.github.com/users/Keyarose/following{/other_user}","gists_url":"https://api.github.com/users/Keyarose/gists{/gist_id}","starred_url":"https://api.github.com/users/Keyarose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keyarose/subscriptions","organizations_url":"https://api.github.com/users/Keyarose/orgs","repos_url":"https://api.github.com/users/Keyarose/repos","events_url":"https://api.github.com/users/Keyarose/events{/privacy}","received_events_url":"https://api.github.com/users/Keyarose/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T03:05:31Z","updated_at":"2015-10-14T03:05:31Z","body":"I don't have a complete understanding of the code but I believe this can be fixed by making changes to the ImageUrl regular expression for https://github.com/Bionus/imgbrd-grabber/blob/6d66a91895a7a165458f975cf6fcf0cb539c9517/release/sites/Gelbooru%20(0.2)/model.xml#l18\r\n\r\nIf I'm right you don't need to install a new build, just edit the model.xml for gelbooru on your system.\r\n\r\nUnfortunately I'm horrible at regular expressions so I can't come up with one to replace the old one.  So if someone else makes one please share.\r\n"}}