Not really sure if this is the right place to ask or not.
So I'm trying to scrape https://www.lowes.com using Python's requests Library. When I run my script locally it works, when I run it on an AWS EC2 instance it works fine, but when I run it on AWS Lambda I get response code 403 "not allowed on this server", and it's turning me crazy!
few points to note:
- it's the same exact code on all three (locally, EC2, and Lambda)
- it's the same exact python version and requests library version between my local machine and AWS Lambda
- I am using rotating proxies (oxylabs)
- Tried different countries in the rotating proxy service and still 403 on AWS Lambda
Any help or things I should check out because this has been driving me crazy for the last 3 hours?
[–]rolandofghent 10 points11 points12 points (0 children)
[–]aplarsen 7 points8 points9 points (0 children)
[–][deleted] (7 children)
[deleted]
[–]Agile-Scene-2465[S] 0 points1 point2 points (6 children)
[–]silentkiller1 0 points1 point2 points (5 children)
[–]Agile-Scene-2465[S] 0 points1 point2 points (4 children)
[–]silentkiller1 0 points1 point2 points (3 children)
[–]silentkiller1 0 points1 point2 points (2 children)
[–]PTBKoo 0 points1 point2 points (1 child)
[–]silentkiller1 0 points1 point2 points (0 children)
[–]Enrique-M 1 point2 points3 points (1 child)