Skip to content

Taiwan Lottery Crawler πŸ› (Crawler for Various Types of Lotteries in Taiwan)

Notifications You must be signed in to change notification settings

yiyu0x/taiwanlottery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

taiwan_lottery

The program retrieves data from Taiwan Lottery. For prize verification, please refer to the official Taiwan Lottery website.

Program Logic

The source code of the Taiwan Lottery website separates the colors of the winning numbers. Therefore, all numbers are first crawled by color. Once retrieved, the colors can be matched to the official website for usage.

Both the draw date and draw period are crawled into a list at once. Subsequently, these are extracted based on the block division in the webpage's source code.

Variables for the draw date and draw period:

date    = [] # Announced date
periods = [] # Number of periods

Screenshot

screenshoot

About

Taiwan Lottery Crawler πŸ› (Crawler for Various Types of Lotteries in Taiwan)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages