1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 14:27:27 +00:00

Add e621>furaffinity>other preference to SauceNAO query

This commit is contained in:
Myned 2019-11-12 15:23:42 -05:00
parent 1941553161
commit b521bba22a
No known key found for this signature in database
GPG key ID: BC58C09870A63E59

View file

@ -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