How to change path folder? #108
-
Hi, I've tried and it works fine, great! |
Beta Was this translation helpful? Give feedback.
Answered by
Dineshkarthik
Aug 29, 2021
Replies: 1 comment 4 replies
-
Of course, you can. Ex: # L112
file_name: str = os.path.join(
"/home/path/to/folder",
_type,
"voice_{}.{}".format(dt.utcfromtimestamp(media_obj.date).isoformat(), file_format),
) # L120
file_name = os.path.join(
"/home/path/to/folder", _type, getattr(media_obj, "file_name", None) or ""
) |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
galeka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Of course, you can.
Change the
THIS_DIR
variable to the absolute path of the folder location in line #L112 and #L120 inmedia_downloader.py
Ex: