{"action":"created","issue":{"url":"https://api.github.com/repos/flightplan-tool/flightplan/issues/11","repository_url":"https://api.github.com/repos/flightplan-tool/flightplan","labels_url":"https://api.github.com/repos/flightplan-tool/flightplan/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/flightplan-tool/flightplan/issues/11/comments","events_url":"https://api.github.com/repos/flightplan-tool/flightplan/issues/11/events","html_url":"https://github.com/flightplan-tool/flightplan/issues/11","id":368905237,"node_id":"MDU6SXNzdWUzNjg5MDUyMzc=","number":11,"title":"BA Captcha timeout","user":{"login":"dday4thedeceiver","id":17881038,"node_id":"MDQ6VXNlcjE3ODgxMDM4","avatar_url":"https://avatars1.githubusercontent.com/u/17881038?v=4","gravatar_id":"","url":"https://api.github.com/users/dday4thedeceiver","html_url":"https://github.com/dday4thedeceiver","followers_url":"https://api.github.com/users/dday4thedeceiver/followers","following_url":"https://api.github.com/users/dday4thedeceiver/following{/other_user}","gists_url":"https://api.github.com/users/dday4thedeceiver/gists{/gist_id}","starred_url":"https://api.github.com/users/dday4thedeceiver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dday4thedeceiver/subscriptions","organizations_url":"https://api.github.com/users/dday4thedeceiver/orgs","repos_url":"https://api.github.com/users/dday4thedeceiver/repos","events_url":"https://api.github.com/users/dday4thedeceiver/events{/privacy}","received_events_url":"https://api.github.com/users/dday4thedeceiver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-11T00:27:01Z","updated_at":"2018-10-11T00:36:41Z","closed_at":null,"author_association":"NONE","body":"So presumably at 45 queries or so, BA is now prompting with a captcha. Not sure yet if it appears again, will update. I haven't tried to see if multiple sub-45 day searches trigger this as well.\r\n\r\nIs the cool-down period adjustable? Is that time or number of queries based? If so I can play with it and see what works.\r\n\r\nAs it is, the immediate problem is I don't always get a chance to answer the captcha as the search refreshes with the next query just before I'm about to hit submit. If the cool-down isn't the answer, then the parser needs to detect the captcha and wait much longer."},"comment":{"url":"https://api.github.com/repos/flightplan-tool/flightplan/issues/comments/428778145","html_url":"https://github.com/flightplan-tool/flightplan/issues/11#issuecomment-428778145","issue_url":"https://api.github.com/repos/flightplan-tool/flightplan/issues/11","id":428778145,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODc3ODE0NQ==","user":{"login":"jd20","id":17896438,"node_id":"MDQ6VXNlcjE3ODk2NDM4","avatar_url":"https://avatars0.githubusercontent.com/u/17896438?v=4","gravatar_id":"","url":"https://api.github.com/users/jd20","html_url":"https://github.com/jd20","followers_url":"https://api.github.com/users/jd20/followers","following_url":"https://api.github.com/users/jd20/following{/other_user}","gists_url":"https://api.github.com/users/jd20/gists{/gist_id}","starred_url":"https://api.github.com/users/jd20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jd20/subscriptions","organizations_url":"https://api.github.com/users/jd20/orgs","repos_url":"https://api.github.com/users/jd20/repos","events_url":"https://api.github.com/users/jd20/events{/privacy}","received_events_url":"https://api.github.com/users/jd20/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T00:36:41Z","updated_at":"2018-10-11T00:36:41Z","author_association":"COLLABORATOR","body":"Yes, throttling settings are set on `config.throttling` in `src/ba/index.js`. You can either choose a different profile (such as `profiles.slow`), or create a new profile in `index/consts.js`. The settings are:\r\n\r\n`delayBetweenRequests`: Interval to enforce between successive requests (the interval is chosen randomly in the range provided after each request)\r\n`requestsPerHour`: Like it says, limits how many requests per hour can be run (but by inserting one big sleep, instead of small sleeps between each request).\r\n`restPeriod`: How often to enforce `requestsPerHour`. Smaller values will mean more frequent small sleeps, whereas bigger values will mean fewer bigger sleeps.\r\n\r\nCookies get cleared each time you run the search command, so my guess is that if you were to change your IP address and account and re-run the search command, the captcha would go away. I have no idea if they flag your IP or account (or both), if you figure out let us know :)"}}
{"actor":{"display_login":"jd20"}}