hakanersu / codecourse-downloader

codecourse.com video downloader.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Impossible to create the root directory "/Users/yourname/prefer-clone-path/Downloads". Linux, how to call the path?

opened this issue · comments

It gives me an error if I try to download all videos.

[League\Flysystem\Exception]
Impossible to create the root directory "/Users/yourname/prefer-clone-path/
Downloads".

I am on a Linux PC, how do I should call the directory?

First of all you have to edit .env (change .env.example to .env) file and change DOWNLOAD_FOLDER path to your desired folder. For example go to Documents directory and create codecourse folder than in terminal and type pwd in that folder it gives your full path. It must be like /home/youruser/Documents/codecourse

It's giving me now this error block:

vagrant@homestead:~/sites/codecourse-downloader$ php codecourse download

Collecting remote series ...
20/20 [============================] 100%
Calculating downloading information.

[League\Flysystem\Exception]
Impossible to create the root directory "/home/filip/Videos/codecourse".

download []

What now? I'm sorry but I paid for Codecourse premium membership but want to download all series to watch offline because I am in two weeks in holidays and have no internet there...

Can you create /home/filip/Videos/codecourse than try to run downloader.

Ohhh my gosh. I was in my vagrant homestead machine. I tried it now out of the machine, it's working beautifully ....... Thank you very, very much. Have a nice evening!