Spoofing IP address when web scraping (python)
问题 I have made a web scraper in python to give me information on when free bet offers from various bookie websites have changed or new ones have been added. However, the bookies tend to record information relating to IP traffic and MAC addresses in order to flag up matched betters. How can I spoof my IP address when using the Request() method in the urllib.request module? My code is below: req = Request('https://www.888sport.com/online-sports-betting-promotions/', headers={'User-Agent': 'Mozilla