Skip to content

This python script scraps "Open" and "Previous Close" values from any company in Yahoo Finance and save them in a local text file.

License

Notifications You must be signed in to change notification settings

fernandod1/Yahoo-finance-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yahoo finance scraper

This python script scraps "Open" and "Previous Close" values from Yahoo Finance Apple Inc. https://finance.yahoo.com/quote/AAPL?p=AAPL or any other company and save them in a local text file.

REQUIREMENTS:

Python V3, modules requests and re.

CONFIGURATION:

Open "yahoofinance.py", modify line number 38 to indicate desired full path of output file generated:

filename = "financevalues.txt"

EXECUTE:

To execute script under Windows, open console window and write:

python yahoofinance.py

About

This python script scraps "Open" and "Previous Close" values from any company in Yahoo Finance and save them in a local text file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages