irs/tests/post_processors.py

22 lines
445 B
Python
Raw Normal View History

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