remove not useful text in source dlsite

This commit is contained in:
yoshiko2
2022-05-20 20:06:13 +08:00
parent 964518572c
commit da76d33b8b

View File

@@ -9,6 +9,7 @@ def getTitle(html):
result = str(html.xpath('/html/head/title/text()')[0])
result = result[:result.rfind(' | DLsite')]
result = result[:result.rfind(' [')]
result = result.replace('【HD版】', '')
return result
def getActor(html): # //*[@id="center_column"]/div[2]/div[1]/div/table/tbody/tr[1]/td/text()
try: