Question

Scrape Table from multiple urls


I hope somebody can help with following: I have a list (text file) with similar urls stock data. The only difference is the ticker code in the name (e.g. "https://www.barchart.com/stocks/quotes/AAP/performance" and "https://www.barchart.com/stocks/quotes/BA/performance are some of them). I read the whole list with reader "Text_line". After that I made a reader for one of these urls in order to know what I will scrape. This is Table1. For so far everything goes well. But after this I want to merge or combine these two so that for all the urls in the Text_line Table1 will be extracted and I will get one file containing on each row: used url, performance 5-Day, performance 1-Month, performance 3-Month, performance 6-Month, performance YTD, performance 52-Week, performance 2-Year, etc.


0 replies

Be the first to reply!

Reply