Ajout threading
This commit is contained in:
13
README.md
13
README.md
@ -28,7 +28,7 @@ Install depedencies:
|
||||
python3 -m pip install beautifulsoup4 mechanicalsoup wget --user
|
||||
```
|
||||
|
||||
Use:
|
||||
Use (oneshot):
|
||||
|
||||
```
|
||||
./4chanthreadfinder.py -u https://boards.4chan.org/b/ -f ./downloads/thread -k 'ylyl thread'
|
||||
@ -38,3 +38,14 @@ Use:
|
||||
* -f : folder where you want to download all pictures
|
||||
* -k : keyword or keyphrase to search (better use a single word !)
|
||||
|
||||
Use (constant, multi-threaded):
|
||||
```
|
||||
./4chanthreadfinder.py -u https://boards.4chan.org/b/ -f ./downloads/threads -k 'thread' -c -t 3
|
||||
```
|
||||
* -u : URL of the page
|
||||
* -f : folder where you want to download all pictures
|
||||
* -k : keyword or keyphrase to search (better use a single word !)
|
||||
* -c : constant : enables constant downloading
|
||||
* -t 3 : number of threads. Here, 3 threads keep on running to constantly download
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user