12 lines
465 B
Python
12 lines
465 B
Python
import subprocess
|
|
|
|
db_link = r"https://rule34.xxx/index.php\?page=post\&s\=list\&tags\=meeewchi"
|
|
db_artist = "meeewchi"
|
|
|
|
def galleryDl(link, artist):
|
|
command = f"gallery-dl --config gallery-dl/config.json --directory Artists/{artist}/Kemono {link}"
|
|
process = subprocess.run(command, shell=True, check=True, capture_output=False, encoding="utf-8")
|
|
print(f'Command \'{process.args}\' exited with {process.returncode} code')
|
|
|
|
galleryDl(db_link, db_artist)
|