Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0f1af60

Browse files
committed
v2.4.0
1 parent6718224 commit0f1af60

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This crawler automates the following step:
1111
* download source code and book cover
1212
* upload files to Google Drive, OneDrive or via scp
1313
* store data on Firebase
14-
* notify viaemail, IFTTTorJoin (on success and errors)
14+
* notify viaGmail, IFTTT, JoinorPushover (on success and errors)
1515
* schedule daily job on Heroku or with Docker
1616

1717
###Default command
@@ -41,7 +41,7 @@ python script/spider.py --config config/prod.cfg --all --extras --upload googled
4141
python script/spider.py -c config/prod.cfg -t epub --upload onedrive
4242
python script/spider.py --config config/prod.cfg --all --extras --upload onedrive
4343

44-
# download and notify: gmail|ifttt|join
44+
# download and notify: gmail|ifttt|join|pushover
4545
python script/spider.py -c config/prod.cfg --notify gmail
4646

4747
# only claim book (no downloads):
@@ -303,15 +303,15 @@ More info about Heroku [Scheduler](https://devcenter.heroku.com/articles/schedul
303303

304304
Build your image
305305
```
306-
docker build -t niqdev/packtpub-crawler:2.3.0 .
306+
docker build -t niqdev/packtpub-crawler:2.4.0 .
307307
```
308308

309309
Run manually
310310
```
311311
docker run \
312312
--rm \
313313
--name my-packtpub-crawler \
314-
niqdev/packtpub-crawler:2.3.0 \
314+
niqdev/packtpub-crawler:2.4.0 \
315315
python script/spider.py --config config/prod.cfg
316316
```
317317

@@ -320,7 +320,7 @@ Run scheduled crawler in background
320320
docker run \
321321
--detach \
322322
--name my-packtpub-crawler \
323-
niqdev/packtpub-crawler:2.3.0
323+
niqdev/packtpub-crawler:2.4.0
324324
325325
# useful commands
326326
docker exec -i -t my-packtpub-crawler bash

‎script/spider.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def main():
6060
parser=argparse.ArgumentParser(
6161
description='Download FREE eBook every day from www.packtpub.com',
6262
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
63-
version='2.3.0')
63+
version='2.4.0')
6464

6565
parser.add_argument('-c','--config',required=True,help='configuration file')
6666
parser.add_argument('-d','--dev',action='store_true',help='only for development')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp