I used this tutorial to install youtube-dl and QPython on Android
But when I run the command youtube-dl https://www.youtube.com/watch?v=D5nxkynkSDI
It throws the following error:
[youtube] D5nxkynkSDI: Downloading webpage
[youtube] D5nxkynkSDI: Downloading video info webpage
[youtube] D5nxkynkSDI: Extracting video information
[youtube] D5nxkynkSDI: Downloading MPD manifest
ERROR: unable to open for writing: [Errno 30] Read-only file system: 'Ezekiel Elliot Touchdown Run Dallas Cowboys Win Against Pittsburg Steelers Fan Reaction Upset-D5nxkynkSDI.webm.part'
As per the answer given here: I tried creating /etc/youtube-dl.conf
using ESFileExplorer but failed to do so. The device isn't rooted.
So here are my questions:
How do I enable writing permissions? or Specify path to a directory on external SD card as output directory?
I actually wanted to batch download few links using
youtube-dl -a 'batchlinks.txt
but I don't understand the current working directory. So I don't know where to put my 'batchlinks.txt'Do I need to go to "QPython Dashboard > Libraries > PIP Console" to run youtube-dl? Why can't I run youtube-dl from "QPython Dashboard > Console"?
Note: The 'batchlinks.txt' doesn't contain YouTube links.