PhoenixBot icon indicating copy to clipboard operation
PhoenixBot copied to clipboard

Implement http-request-randomizer for anonymizing monitor functionality

Open broglea opened this issue 4 years ago • 0 comments

Summary

We want to continuously monitor websites for whether a product is in stock or not. This functionality already exists in the bot via the monitor function of site implementation like walmart and bestbuy. We would like to do this more anonymously by rotating through different IP addresses and potentially user agents as to avoid detection of the monitor and soft/hard bans from the websites themselves.

The http-request-randomizer python package (github link) is a good starting point for this.

This feature aims to build a wrapper around the http-request-randomizer that can be easily used in the current and future site implementations for the requests sent via the monitor functionality.

MVP features

  • Implemented wrapper class for this
  • Used in the monitor function of the walmart bot
  • Global setting toggle to enable or disable the http-request-randomizer in monitor mode

broglea avatar Nov 15 '20 02:11 broglea