diff --git a/AV_Data_Capture.py b/AV_Data_Capture.py index 0bf6f51..36088e0 100755 --- a/AV_Data_Capture.py +++ b/AV_Data_Capture.py @@ -14,7 +14,7 @@ os.chdir(os.getcwd()) # ============global var=========== -version='2.0' +version='2.1' config = ConfigParser() config.read(config_file, encoding='UTF-8') diff --git a/avsox.py b/avsox.py index ee4c79c..16ab19d 100644 --- a/avsox.py +++ b/avsox.py @@ -71,16 +71,16 @@ def getTag(a): # 获取演员 return d def main(number): - a = get_html('https://avsox.asia/cn/search/' + number) + a = get_html('https://avsox.host/cn/search/' + number) html = etree.fromstring(a, etree.HTMLParser()) # //table/tr[1]/td[1]/text() result1 = str(html.xpath('//*[@id="waterfall"]/div/a/@href')).strip(" ['']") if result1 == '' or result1 == 'null' or result1 == 'None': - a = get_html('https://avsox.asia/cn/search/' + number.replace('-', '_')) + a = get_html('https://avsox.host/cn/search/' + number.replace('-', '_')) print(a) html = etree.fromstring(a, etree.HTMLParser()) # //table/tr[1]/td[1]/text() result1 = str(html.xpath('//*[@id="waterfall"]/div/a/@href')).strip(" ['']") if result1 == '' or result1 == 'null' or result1 == 'None': - a = get_html('https://avsox.asia/cn/search/' + number.replace('_', '')) + a = get_html('https://avsox.host/cn/search/' + number.replace('_', '')) print(a) html = etree.fromstring(a, etree.HTMLParser()) # //table/tr[1]/td[1]/text() result1 = str(html.xpath('//*[@id="waterfall"]/div/a/@href')).strip(" ['']") @@ -109,4 +109,4 @@ def main(number): js = json.dumps(dic, ensure_ascii=False, sort_keys=True, indent=4, separators=(',', ':'), ) # .encode('UTF-8') return js -#print(main('041516_541')) \ No newline at end of file +#print(main('012717_472')) \ No newline at end of file diff --git a/update_check.json b/update_check.json index d091542..08acd50 100644 --- a/update_check.json +++ b/update_check.json @@ -1,5 +1,5 @@ { - "version": "2.0", - "version_show":"2.0", + "version": "2.1", + "version_show":"2.1", "download": "https://github.com/yoshiko2/AV_Data_Capture/releases" }