Python Forum

Full Version: Getting stock symbols from this website
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I'm trying to get the stock symbols on this website (https://marketdata.set.or.th/mkt/sectorq...=PF%26REIT)

i.e. AIMCG, AIMIRT, AMATAR etc.

I know how to install the libraries, parse the webpage etc. I know how to use find, find_all and things like that. But this part stumps me.

Reason being the stock symbols are in a tags but I don't know how exactly to search for these. There are other links on the website too.

Beginner in python here. Thanks in advance for everything!
These are all displayed using JavaScript. You will need to use selenium to scrape.
see tutorials on this forum here:
web scraping Part1
web scraping Part2