You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
244 B
Python
9 lines
244 B
Python
9 months ago
|
import subprocess
|
||
|
|
||
|
|
||
|
with open('urls', 'r') as f:
|
||
|
url_list = f.read().splitlines()
|
||
|
print(url_list)
|
||
|
for url in url_list:
|
||
|
result = subprocess.run(['./packwiz', 'curseforge', 'add', url, '--yes'], stdout=subprocess.PIPE)
|
||
|
print(result.stdout)
|