I have run into this problem before and still don't know what I can do, so I figured I would ask here.
Say I have a website like: https://www.macrotrends.net/stocks/charts/AAPL/apple/stock-price-history
if you scroll down a bit there is a red button "Download Data". This downloads the csv.
I would like to read this csv into a data frame in Python or R. Whatever 'read csv' function I use, I need a url. My question is: How do I get a url for this csv? That's all I need to know.