/scrap-superloto

A web scrapping project to fetch all lottery winning numbers, date, prizes etc.

Primary LanguagePythonMIT LicenseMIT

scrap-superloto 💸

A web scrapping project to fetch all lottery winning numbers, date, prizes etc. from Milli Piyango official site. It requires:

  • python 2.7
  • Scrapy 1.5.1

Settings

Waiting time between requests and caching options can be changed in settings file. Following settings are used by default:

DOWNLOAD_DELAY = 0.5
HTTPCACHE_ENABLED = True

Run crawler

In order to run crawler, change directory to project file, then start crawling with spider name getres:

cd scrap-superloto-master
scrapy crawl getres -o output.json