mirror of
https://github.com/cooperhammond/irs.git
synced 2024-12-22 17:35:28 +00:00
22 lines
461 B
Python
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!") |