1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Add a score requirement to filter out some terrible posts on derpi

This commit is contained in:
Phxntxm 2017-03-25 21:06:36 -05:00
parent 93a245ffa5
commit ea8535a647

View file

@ -199,6 +199,8 @@ class Links:
params['filter_id'] = 95938
else:
params['q'] += ", safe"
# Lets filter out some of the "crap" that's on derpibooru by requiring an image with a score higher than 15
params['q'] += ', score.gt:15'
try:
# Get the response from derpibooru and parse the 'search' result from it