net-spider write by Python 3.5
just for fun ^_^
- need library:
urllib3:pip3 install urllib3
requests:pip3 install requests
BeautifulSoup4:pip3 install beautifulsoup4 html5lib
lxml:pip3 install lxml
Spider for net-drama Osen
When runing this program, it would check the count of issue in id_list
, if has a new issue, program wil download the new audio file and update info file.
- Log file would be builed on the same path of
osen.py
. - Edit
save_path
to change where the audio files and infos file are saved in. - Need combine with cron tools like crontab to use
example:
crontab -e
then:
30 1 * * * <absolute path of your python3> <absolute path of osen.py>
Thanks: Thanks for Guo of YTS for his technical support!
Play kfol and get dayly-reward automaticly. (But need distributing status point by yourself.)
Just edit ID = '...'
and PW = '...'
- Need combine with cron tools like crontab to auto play everday.