Skip to content

Instantly share code, notes, and snippets.

View dedobbin's full-sized avatar

dedobbin

  • https://koindozer.org/dat/
View GitHub Profile
import requests
base = "https://www.wsj.com/market-data/quotes/company-list/country/united-states/"
headers = {
"Host" : "www.wsj.com",
"Referer" : "https://www.wsj.com",
"Accept": 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
"User-Agent" : "Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0",
}