This commit is contained in:
Евгений Храмов 2023-05-14 12:39:10 +03:00
parent ed6e5d6322
commit 14686cdec3

@ -400,7 +400,7 @@ def modextract(id_mods_ark, id_game_workshop):
if not os.path.isfile(dstfile) or os.path.getmtime(srcfile) > os.path.getmtime(dstfile):
shutil.copy2(srcfile, dstfile)
modname = subprocess.check_output(['curl', '-s', 'http://steamcommunity.com/sharedfiles/filedetails/?id={}'.format(id_mods_ark)]).decode('utf-8')
modname = subprocess.check_output(['curl', '-s', 'https://steamcommunity.com/sharedfiles/filedetails/?id={}'.format(id_mods_ark)]).decode('utf-8')
print_line(f"{modname} mod_name")
modname = re.search(r'<div class="workshopItemTitle">(.+)</div>', modname)
print_line(f"{modname} mod_name")