Skip to content

Tool to grab historical stock headlines from SeekingAlpha.

Notifications You must be signed in to change notification settings

joekendal/seeking-alpha-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Description

Tool for grabbing news articles from SeekingAlpha's backend API. Useful for populating a time-series database. Requires proxies to bypass rate limits.

Usage

from sa_scraper import SeekingAlpha

sa = SeekingAlpha(
    proxies=dict(
        http='socks5://localhost:9050',
        https='socks5://localhost:9050',
    )
)

symbol = "TSLA"
end_date = datetime.utcnow()

articles = sa.fetch_news(symbol, end_date)

print(json.dumps(articles, indent=4))

About

Tool to grab historical stock headlines from SeekingAlpha.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages