irs/tests/post_processors.py
2017-03-15 18:37:13 -07:00

22 lines
461 B
Python

from irs.ripper import Ripper
import os
print ("[*] Testing `post_processors.py`")
if not os.path.exists("test_dir"):
os.makedirs("test_dir")
Ripper({
"post_processors": {
"custom_directory": "test_dir/",
"organize": True,
}
}).album("Da Frame 2R / Matador")
Ripper({
"post_processors": {
"custom_directory": "test_dir/",
"organize": True,
}
}).playlist("IRS Testing", "prakkillian")
print ("[+] Passed!")