1
0
Fork 0
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:
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 return None
source = match['data']['ext_urls'][0] 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']: for e in match['data']['ext_urls']:
if 'e621' in e: if 'e621' in e:
source = e source = e