Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
424b285
commit d2da41d
Showing
34 changed files
with
97 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,6 @@ classifiers = | |
Typing :: Typed | ||
keywords = | ||
image-crawler | ||
pr0gramm | ||
project_urls = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Instagram image crawlers | ||
|
||
Were removed from the list of shipped crawlers. | ||
|
||
Instagram crawler is stable but brittle at the same time. | ||
fetching the initial query has failes often due to instagram's WAF or other things. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# ignore everything besides this file and yaml files | ||
* | ||
!/.gitignore | ||
!/*.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
## This is a config file for nichtprasoup (v2.2) | ||
|
||
|
||
## WebServer config | ||
## type: map | ||
webserver: | ||
## hostname the WebServer recognizes. can also be a unix socket | ||
## type: string | ||
hostname: "0.0.0.0" | ||
## port the webserver runs on | ||
## type: integer | ||
## constraint: 1 <= port <= 65535 | ||
port: 5000 | ||
|
||
## ImageServer config | ||
## type: map | ||
imageserver: | ||
## number of images the server must keep at all time | ||
## type: integer | ||
## constraint: >= 10 | ||
## optional | ||
## default: 30 | ||
crawler_upkeep: 30 | ||
## number of seconds the server must nt be reset | ||
## type: integer | ||
## constraint: >= 600 | ||
## optional | ||
## default: 3600 | ||
reset_timeout: 3600 | ||
|
||
## list of ImageCrawlers to use. | ||
## ATTENTION: crawlers are treated like a unique list. the combination of type and config makes them unique | ||
## for a list of available types see the commandline help: nichtparasoup info --imagecrawler-list | ||
## for description of a crawler and how to configure, see commandline help: nichtparasoup info --imagecrawler-desc <crawler> | ||
## type: list | ||
crawlers: | ||
- | ||
## name of the crawler | ||
## for a list of available types see the commandline help: nichtparasoup info --imagecrawler-list | ||
## type: string | ||
name: "Reddit" | ||
## probability to be chosen randomly | ||
## type: integer or float | ||
## constraint: > 0 | ||
## optional | ||
## default: 1 | ||
weight: 3 | ||
## the crawler's own config | ||
## for description of a crawler and how to configure, see commandline help: nichtparasoup info --imagecrawler-desc <crawler> | ||
## type: map | ||
## optional | ||
config: | ||
subreddit: 'EarthPorn' | ||
- | ||
name: "Picsum" | ||
weight: 1 | ||
config: | ||
width: 300 | ||
height: 600 | ||
- | ||
name: "InstagramHashtag" | ||
weight: 1 | ||
config: | ||
tag_name: "earthporn" | ||
- | ||
name: "InstagramProfile" | ||
weight: 1 | ||
config: | ||
user_name: "natgeo" | ||
|
||
|
||
## logging settings | ||
## type: map | ||
## optional | ||
logging: | ||
## log level settings | ||
## type: enum('CRITICAL', 'ERROR', 'WARNING', 'INFO', 'DEBUG') | ||
## optional | ||
## default: 'INFO' | ||
level: 'INFO' |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.