mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 22:27:28 +00:00
Add e621>furaffinity>other preference to SauceNAO query
This commit is contained in:
parent
1941553161
commit
b521bba22a
1 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,10 @@ async def query_saucenao(url):
|
|||
return None
|
||||
|
||||
source = match['data']['ext_urls'][0]
|
||||
for e in match['data']['ext_urls']:
|
||||
if 'furaffinity' in e:
|
||||
source = e
|
||||
break
|
||||
for e in match['data']['ext_urls']:
|
||||
if 'e621' in e:
|
||||
source = e
|
||||
|
|
Loading…
Reference in a new issue