如何往回爬取指定彩券的幾個月前的開獎紀錄並輸出 JSON
win10ogod opened this issue · comments
搞不懂使用方法
如何往回爬取指定彩券的幾個月前的開獎紀錄並輸出 JSON文件?
Hi @win10ogod
你可以參考這幾短程式碼去計算出前幾個月差, 然後再去執行對應的 function 即可.
https://github.com/stu01509/TaiwanLotteryCrawler/blob/master/TaiwanLottery/utils.py#L28-L40
https://github.com/stu01509/TaiwanLotteryCrawler/blob/master/TaiwanLottery/__init__.py#L466-L470