{"action":"created","issue":{"url":"https://api.github.com/repos/rarcega/instagram-scraper/issues/273","repository_url":"https://api.github.com/repos/rarcega/instagram-scraper","labels_url":"https://api.github.com/repos/rarcega/instagram-scraper/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/rarcega/instagram-scraper/issues/273/comments","events_url":"https://api.github.com/repos/rarcega/instagram-scraper/issues/273/events","html_url":"https://github.com/rarcega/instagram-scraper/issues/273","id":348094366,"node_id":"MDU6SXNzdWUzNDgwOTQzNjY=","number":273,"title":"requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://www.instagram.com/","user":{"login":"moodiest","id":10815538,"node_id":"MDQ6VXNlcjEwODE1NTM4","avatar_url":"https://avatars0.githubusercontent.com/u/10815538?v=4","gravatar_id":"","url":"https://api.github.com/users/moodiest","html_url":"https://github.com/moodiest","followers_url":"https://api.github.com/users/moodiest/followers","following_url":"https://api.github.com/users/moodiest/following{/other_user}","gists_url":"https://api.github.com/users/moodiest/gists{/gist_id}","starred_url":"https://api.github.com/users/moodiest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moodiest/subscriptions","organizations_url":"https://api.github.com/users/moodiest/orgs","repos_url":"https://api.github.com/users/moodiest/repos","events_url":"https://api.github.com/users/moodiest/events{/privacy}","received_events_url":"https://api.github.com/users/moodiest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-06T21:51:14Z","updated_at":"2018-08-08T00:10:22Z","closed_at":null,"author_association":"NONE","body":"Whenever I run my script I always get the following error:\r\n```\r\nRepeated error HTTPError(u'400 Client Error: Bad Request for url: https://www.instagram.com/',)\r\n(A)bort, (I)gnore, (R)etry or retry (F)orever?a\r\nTraceback (most recent call last):\r\n  File \"c:\\python27\\lib\\runpy.py\", line 174, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"c:\\python27\\lib\\runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"C:\\Python27\\Scripts\\instagram-scraper.exe\\__main__.py\", line 9, in <module>\r\n  File \"c:\\python27\\lib\\site-packages\\instagram_scraper\\app.py\", line 1211, in main\r\n    scraper.login()\r\n  File \"c:\\python27\\lib\\site-packages\\instagram_scraper\\app.py\", line 224, in login\r\n    self.rhx_gis = self.get_shared_data()['rhx_gis']\r\n  File \"c:\\python27\\lib\\site-packages\\instagram_scraper\\app.py\", line 710, in get_shared_data\r\n    resp = self.get_json(BASE_URL + username)\r\n  File \"c:\\python27\\lib\\site-packages\\instagram_scraper\\app.py\", line 204, in get_json\r\n    resp = self.safe_get(*args, **kwargs)\r\n  File \"c:\\python27\\lib\\site-packages\\instagram_scraper\\app.py\", line 174, in safe_get\r\n    response.raise_for_status()\r\n  File \"c:\\python27\\lib\\site-packages\\requests\\models.py\", line 939, in raise_for_status\r\n    raise HTTPError(http_error_msg, response=self)\r\nrequests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://www.instagram.com/\r\n```\r\n\r\nThe script I'm running is:\r\n`C:\\Python27\\Scripts\\instagram-scraper instagram @D:\\story\\Instagram\\instagram-scraper\\insta_args.txt --latest --media-metadata --template \"{year}-{month}-{day} {h}.{m}.{s} - {urlname}\"`"},"comment":{"url":"https://api.github.com/repos/rarcega/instagram-scraper/issues/comments/411242016","html_url":"https://github.com/rarcega/instagram-scraper/issues/273#issuecomment-411242016","issue_url":"https://api.github.com/repos/rarcega/instagram-scraper/issues/273","id":411242016,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTI0MjAxNg==","user":{"login":"luisalancruz","id":42119772,"node_id":"MDQ6VXNlcjQyMTE5Nzcy","avatar_url":"https://avatars2.githubusercontent.com/u/42119772?v=4","gravatar_id":"","url":"https://api.github.com/users/luisalancruz","html_url":"https://github.com/luisalancruz","followers_url":"https://api.github.com/users/luisalancruz/followers","following_url":"https://api.github.com/users/luisalancruz/following{/other_user}","gists_url":"https://api.github.com/users/luisalancruz/gists{/gist_id}","starred_url":"https://api.github.com/users/luisalancruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisalancruz/subscriptions","organizations_url":"https://api.github.com/users/luisalancruz/orgs","repos_url":"https://api.github.com/users/luisalancruz/repos","events_url":"https://api.github.com/users/luisalancruz/events{/privacy}","received_events_url":"https://api.github.com/users/luisalancruz/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T00:10:22Z","updated_at":"2018-08-08T00:10:22Z","author_association":"NONE","body":"mi cuenta no entra"}}
{"actor":{"display_login":"luisalancruz"}}