Corrected the error where the tag replacing caused multiple tags to fail
This commit is contained in:
parent
e57ca780ef
commit
e42b5c0d7f
1 changed files with 2 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue