Member-only story
Scraping WITHOUT using Selenium and Chromedriver. Using only Python Requests library and Alternatives
3 min readJan 25, 2024
Following on from my last article which can be found here -
Some people were having issues when attempting to send a request to the PaddyPower internal api. I myself, when using my laptop encountered the same issue where the request was returning a 403 Forbidden response.
In this article, I will detail a couple of alternate ways to make a request. This should be short and sweet, acting as an appendix to the previous article.
Before we begin here is an example which only uses the requests library. As I mentioned this code works on my desktop but not my laptop.
import requests
import json
# Replace 'your_endpoint_url' with the actual URL you want to call
endpoint_url =…