A very Pythonic script to scrape tickers off of Finviz's Stock Screener. Simply replace the input URL with your own Finviz Stock Screener URL and it will output a full list of tickers. This can then be used for yfinance data downloads, broker API calls, etc.
Required Python libraries:
- bs4 (Beautiful Soup)
- Requests