1
0
Fork 0
mirror of synced 2024-06-18 18:44:33 +12:00

Corrected the error where the tag replacing caused multiple tags to fail

This commit is contained in:
Phxntxm 2016-10-03 20:04:23 -05:00
parent e57ca780ef
commit e42b5c0d7f

View file

@ -136,6 +136,8 @@ class Links:
# This changes the formatting for queries, so we don't
# Have to use e621's stupid formatting when using the command
tags = tags.replace(' ', '_')
tags = tags.replace(',_', ' ')
url = 'https://e621.net/post/index.json'
params = {'limit': 320,
'tags': tags}