A simple comic crawler to crawl comic from https://comicbus.com/.
- Create a request file to download comics, example:
{
"食戟之靈": {
"01話":[],
"02話":[],
"03話":[],
"04話":[]
}
}- Create a db file to restore the comic's image url, example:
{
}- Execute the sample script
$ ./src/basic_main.py [request_file.json] scripts [db.json]a. download and follow the instruction of the README.md at schedular to start a worker service
b. run the script for worker of schedular
$ ./src/worker_main.py [request_file.json] scripts [db.json] http://0.0.0.0:5000/execute
# Notice that the url 'http://0.0.0.0:5000/execute' is the url for "shedular" to run as default,
# please just set this argument based on your real environment.