Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional features. Meta, cb_kwags; close_page hendeling; dont_recap…
…tcha meta-flag (#18) * added comment * Added new action (recaptcha_solver), wrote down the descriptions and checked grammar * Example of using the recaptcha_solver action * Deleted one example web-site * Improved RecaptchaSolver and example of usage * Implemented RecaptchaSolver, changed returning response to PuppeteerJsonResponse. Added comments and description to classes, checked grammar. * Fully implemented auto recaptcha solver middleware. Added example of usage and fixed screenshot action. * RECAPTCHA_* settings prefix, usual filename of saved html, 'w'->'wb', changed names of parse-functions in recaptcha.py, changed RecaptchaSolver documentation, additional settings to middleware, provided False instead of close_page attribute * Extended 1 example into 2. Checked grammar + beautified examples * Replace method for response.py * Fixed replace method, added meta to PuppeteerRequest, added generativo request to PuppeteerResponse. Simplified _gen_response method * Backward compatibility for ServiceMiddleware * Documentation for changes * Fixed meta * Added bytes for body * Added bytes for body * Added bytes for body * No encodings * Trying to provide meta! * Transfering and accumulating meta * CustomJsAction context_id and page_id fix * Some fixed with meta and special key to meta * Changes to page_idS * Independent requests for recaptcha_solver * Meta documentation * Proper replace methods and attributes * Added attribute to HtmlResponse, handled close_page problem * deleted prints * deleted comments * Click in submit_selectors, added attributes to responses and simplified recaptcha_solving * deleted prints * Fixed replace for JsonResponse * Beatifying crawling and additional parameter to recaptcha_solver action * Beautifying in retrying * Code beautifying and skipping some actions as they do not produce Recaptcha * Grammar and additional comments * Some grammar, new ActionRequest class, TextResponse inheritance, new representation of request and responses * Changed PuppeteerJsonResponse's init for better handling its data, thus changed response generation in ServiceMiddleware. Deleted exceptional replace method of PuppeteerJsonResponse. * Setup changes * Headers fix * Setup fix * Version updating, dependencies setting and deleting `|` for Python 3.6 support * Meta added and comments updated * changed _form_response signature * Updated comment to CustomJsAction * Changed page_id getting * Fixed additional request in response_data * Fixed replacing request
- Loading branch information