删除标题中番号,使用小封面,修复‘演员、片商’获取
This commit is contained in:
parent
3545705283
commit
c073a1e253
1
javdb.py
1
javdb.py
@ -141,7 +141,6 @@ def main(number):
|
||||
a = get_html('https://javdb.com/search?q=' + number + '&f=all').replace(u'\xa0', u' ')
|
||||
html = etree.fromstring(a, etree.HTMLParser()) # //table/tr[1]/td[1]/text()
|
||||
result1 = html.xpath('//*[@id="videos"]/div/div/a/@href')[0]
|
||||
print(html.xpath('//*[@id="videos"]/div/div/a/@href'))
|
||||
b = get_html('https://javdb.com' + result1).replace(u'\xa0', u' ')
|
||||
dic = {
|
||||
'actor': getActor(b),
|
||||
|
Loading…
Reference in New Issue
Block a user