Answer the question
In order to leave comments, you need to log in
Why curl works but python requests doesn't?
Hello.
Here is a command from the console that works exactly as I need and returns exactly what I want:
curl https://uk.finance.yahoo.com/quote/AAPL/history
url = 'https://uk.finance.yahoo.com/quote/AAPL/history'
r = requests.get(url)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question