1
This commit is contained in:
parent
ed6e5d6322
commit
14686cdec3
2
hlna.py
2
hlna.py
@ -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):
|
if not os.path.isfile(dstfile) or os.path.getmtime(srcfile) > os.path.getmtime(dstfile):
|
||||||
shutil.copy2(srcfile, 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")
|
print_line(f"{modname} mod_name")
|
||||||
modname = re.search(r'<div class="workshopItemTitle">(.+)</div>', modname)
|
modname = re.search(r'<div class="workshopItemTitle">(.+)</div>', modname)
|
||||||
print_line(f"{modname} mod_name")
|
print_line(f"{modname} mod_name")
|
||||||
|
Loading…
Reference in New Issue
Block a user