{"id":17294875,"url":"https://github.com/machinecyc/lotteryinsight","last_synced_at":"2026-05-09T14:41:35.682Z","repository":{"id":45580893,"uuid":"354700675","full_name":"machineCYC/LotteryInsight","owner":"machineCYC","description":"Use crawler to collect Taiwan Lotto data, and save data into local MySQL server.","archived":false,"fork":false,"pushed_at":"2022-08-27T06:21:47.000Z","size":129,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T01:51:26.452Z","etag":null,"topics":["crawler","data","docker","lottery","mysql-database","python3","taiwan"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/machineCYC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-05T03:00:21.000Z","updated_at":"2021-11-23T11:19:15.000Z","dependencies_parsed_at":"2022-07-21T05:32:18.471Z","dependency_job_id":null,"html_url":"https://github.com/machineCYC/LotteryInsight","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machineCYC%2FLotteryInsight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machineCYC%2FLotteryInsight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machineCYC%2FLotteryInsight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machineCYC%2FLotteryInsight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/machineCYC","download_url":"https://codeload.github.com/machineCYC/LotteryInsight/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245727637,"owners_count":20662553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crawler","data","docker","lottery","mysql-database","python3","taiwan"],"created_at":"2024-10-15T11:08:23.605Z","updated_at":"2026-05-09T14:41:30.652Z","avatar_url":"https://github.com/machineCYC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LotteryInsight\n\nThis repository provide [Taiwan Lottery](https://www.taiwanlottery.com.tw/index_new.aspx) crawler framework to collect the data into mysql database.\n\nBelow table is the list of provide crawler.\n\nDataset       | Crawler | Official web update schedule | Crawler update scheduler |\n--------------|:-----:|:-----:|:-----:|\n今彩539    | DailyCash | Monday-Saturday 10pm | Monday-Saturday 10pm-11pm 1/20min |\n大樂透   | Lotto649 | Tuesday, Friday 10pm | Tuesday, Friday 10pm-11pm 1/15min |\n威力彩   | Superlotto638 | Monday, Thursday 10pm | Monday, Thursday 10pm-11pm 1/20min |\n\n## Environment setting\n\n    1. setup python env (must install pipenv pyenv)\n        - pipenv --python /home/**username**/.pyenv/versions/3.6.9/bin/python3.6 shell\n\n    2. sync python library\n        - pipenv sync\n\n    3. create .env file\n        - python genenv.py\n\n    4. setting environment variable in .env file\n\n## Local develop setup\n\n    1. create local mysql server\n        - make run-dev-mysql\n\n    2. develop the crawler in LotteryInsight/crawlers folder\n\n    If you want to try regular crawler data, you can try step 3\n    3. create local scheduler\n        - make build-dev-image\n        - make run-dev-scheduler\n\n    4. If complete develop, please end up mysql server and scheduler.\n\n        close mysql server\n        - make end-dev-mysql\n\n        close scheduler\n        - make end-dev-scheduler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmachinecyc%2Flotteryinsight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmachinecyc%2Flotteryinsight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmachinecyc%2Flotteryinsight/lists"}