Adjust order for sources
This commit is contained in:
@@ -155,8 +155,8 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
print('[*]================== AV Data Capture ===================')
|
print('[*]================== AV Data Capture ===================')
|
||||||
print('[*]' + version.center(54))
|
print('[*]' + version.center(54))
|
||||||
print('[*]' + "严禁在墙内宣传本项目".center(48))
|
|
||||||
print('[*]======================================================')
|
print('[*]======================================================')
|
||||||
|
print('[*]严禁在墙内宣传本项目')
|
||||||
|
|
||||||
# Read config.ini
|
# Read config.ini
|
||||||
conf = config.Config("config.ini")
|
conf = config.Config("config.ini")
|
||||||
|
|||||||
@@ -65,17 +65,17 @@ def get_data_from_json(file_number, conf: config.Config): # 从JSON返回元数
|
|||||||
elif "avsox" in sources and (re.match(r"^\d{5,}", file_number) or
|
elif "avsox" in sources and (re.match(r"^\d{5,}", file_number) or
|
||||||
"heyzo" in lo_file_number
|
"heyzo" in lo_file_number
|
||||||
):
|
):
|
||||||
sources.insert(0, sources.pop(sources.index("javdb")))
|
sources.insert(0, sources.pop(sources.index("avsox")))
|
||||||
sources.insert(1, sources.pop(sources.index("avsox")))
|
sources.insert(1, sources.pop(sources.index("javdb")))
|
||||||
elif "mgstage" in sources and (re.match(r"\d+\D+", file_number) or
|
elif "mgstage" in sources and (re.match(r"\d+\D+", file_number) or
|
||||||
"siro" in lo_file_number
|
"siro" in lo_file_number
|
||||||
):
|
):
|
||||||
sources.insert(0, sources.pop(sources.index("mgstage")))
|
sources.insert(0, sources.pop(sources.index("mgstage")))
|
||||||
elif "fc2" in sources and ("fc2" in lo_file_number
|
elif "fc2" in sources and ("fc2" in lo_file_number
|
||||||
):
|
):
|
||||||
sources.insert(0, sources.pop(sources.index("javdb")))
|
sources.insert(0, sources.pop(sources.index("fc2club")))
|
||||||
sources.insert(1, sources.pop(sources.index("fc2")))
|
sources.insert(1, sources.pop(sources.index("fc2")))
|
||||||
sources.insert(2, sources.pop(sources.index("fc2club")))
|
sources.insert(2, sources.pop(sources.index("javdb")))
|
||||||
elif "dlsite" in sources and (
|
elif "dlsite" in sources and (
|
||||||
"rj" in lo_file_number or "vj" in lo_file_number
|
"rj" in lo_file_number or "vj" in lo_file_number
|
||||||
):
|
):
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ max_title_len=50
|
|||||||
update_check=1
|
update_check=1
|
||||||
|
|
||||||
[priority]
|
[priority]
|
||||||
website=fc2club,javbus,javdb,airav,fanza,xcity,mgstage,fc2,avsox,dlsite,carib
|
website=fc2club,javbus,airav,fanza,xcity,javdb,mgstage,fc2,avsox,dlsite,carib
|
||||||
|
|
||||||
[escape]
|
[escape]
|
||||||
literals=\()/
|
literals=\()/
|
||||||
|
|||||||
Reference in New Issue
Block a user