Update 3.5

This commit is contained in:
Yoshiko2
2020-06-22 15:59:24 +08:00
committed by GitHub
parent 67353cde87
commit 0d435d5568
6 changed files with 79 additions and 38 deletions

View File

@@ -49,6 +49,7 @@ def main(number: str):
"number": get_table_el_td(soup, "video_id"),
"release": get_table_el_td(soup, "video_date"),
"runtime": get_from_xpath(lx, '//*[@id="video_length"]/table/tr/td[2]/span/text()'),
"series":'',
}
else:
dic = {}
@@ -103,7 +104,7 @@ def get_cover(lx: html.HtmlComment) -> str:
if __name__ == "__main__":
# lists = ["DVMC-003", "GS-0167", "JKREZ-001", "KMHRS-010", "KNSD-023"]
lists = ["DVMC-003"]
lists = ["DVMC-003", "GS-0167", "JKREZ-001", "KMHRS-010", "KNSD-023"]
#lists = ["DVMC-003"]
for num in lists:
print(main(num))