将欧美全部归类到无码

This commit is contained in:
lededev
2022-04-10 15:29:46 +08:00
parent 02692becfe
commit e5bc900b40
2 changed files with 16 additions and 12 deletions

View File

@@ -180,7 +180,8 @@ def getUserRating(html):
except:
return
def getUncensored(html):
x = html.xpath('//strong[contains(text(),"類別")]/../span/a[contains(@href,"/tags/uncensored?")]')
x = html.xpath('//strong[contains(text(),"類別")]/../span/a[contains(@href,"/tags/uncensored?")'
' or contains(@href,"/tags/western?")]')
return bool(x)
def main(number):
@@ -342,3 +343,4 @@ if __name__ == "__main__":
# print(main('EBOD-646'))
# print(main('LOVE-262'))
print(main('ABP-890'))
print(main('blacked.14.12.08'))