from instagram using instaload.
loader.download_post(post, target='./app/files/videos')
But instead of downloading in this address, it will create a folder named:
./app/files/videos
What should I do?
Maybe change it so its ./videos
lmao
Its not a folder named ./app/files/videos
I tried it without dot and beginning slash Same result
Have your read what download_post is doing?
What do you mean not working? Is it not saving into the videos folder?
It would be helpful if you can share the error message
Guess they are thinking, that would be too easy for you (excuse my bad joke)
It create folder with name: app/files/videos or /app/files/videos or ./app/files/videos It's silly but it happens
There is no error, it works in a wrong way
Make a pr and fix it
just use the Path lib, and pass a string with the full path to your destination dir, the use of / or \ it's differente between linux and windows.
Обсуждают сегодня