mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 14:47:29 +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
|
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
|
||||||
|
|
Loading…
Reference in a new issue