Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Youtube Downloader
-
Remove the .py
-
Works fine! Thanks for creating the script, without .py ;-)
-
For all that were having problem with my script, I see there was a misunderstanding in my original instructions about this particular bit:
<i>Using the gist downloader or manually saving it into Pythonista, it should be named 'YoutubeDL.py'</i>
Every file listed in the Pythonista script list already has a '.py' suffix (behind the scenes), Pythonista just hides the suffix. I forget that many people new to python / Pythonista don't realize this, as I come to Pythonista from coding python in general on many different OSes. It wasn't a comment saying "When looking at your list of scripts in Pythonista, make sure it says 'YoutubeDL.py' ...". I was just trying to make sure you named it "YoutubeDL" - and just thought everyone understood the ".py" was a given.
Please forgive me for the confusion I've caused, it was a poor choice of comment on my part. I've edited the original for more clarity.
Also - are people using the current gist downloader(s) seeing the script appear in Pythonista with '.py' in the file name? Or were they following my poorly worded instructions and re-naming the file to include the '.py' ?
-
It's pretty clear from youtube's terms of service (http://www.youtube.com/static?gl=GB&template=terms) that this is not allowed
-
@DKatri - Not with my tool. I'm only downloading the media as offered up by YouTube. I'm not manipulating the media files, so I can't offer you a method for extracting the audio component of video+audio streams.
-
Works great with GoodReader, as noted by Dalorbi in this article: http://www.macstories.net/links/ios-youtube-downloader-with-pythonista/
Seems to download QUICKER than actually trying to watch it in YouTube. lol
-
I've made some minor modifications to the original script to better suit my workflow.
My rough hacked version is here:
https://gist.github.com/allanon2/6239859It differs from the original in two ways. One rather than expecting the current web page to contain a YouTube video, it expects a URL to a page containing a YouTube video to be on the clipboard. This means that if you are browsing and come across a link to a YouTube containing page, you can simply copy the link and execute the script.
I make this easier by having a bookmark in the bookmark bar with this:
pythonista://YoutubeClipper?action=runThe other way my script varies is that it, somewhat crudely, presents a console alert to allow you to select one of your preferred video formats/qualities.
It's really just a clumsy hack of the original script (all credit to pudquick), but it is much better aligned to my workflow, where I don't want to have to load the actual YouTube page in order to grab a video.
Hopefully someone else may find it useful.
-
I'm ending up with a videoplayback.txt file instead of the .mp4. My guess is that Google changed scheme and broke this, can anyone confirm?
-
Still works for me
-
Thanks robertirish. I believe the key is to NOT have the official YouTube app installed. After deleting it the script works again for me.
-
Trying to get this to work with VLC since it has a download capabilities. The vlc:// will cause it to launch vlc, open the player like it's going to play the video, then it says Playback Failed and I'm left without the file. I don't really know what else to do with the vlc url scheme, as far as implementing it in the script goes, or if it even can for sure work. Trying to find some more documentation on VLCs url scheme. If anybody has a solution to work it with VLC though, that would be great. Or if anybody knows of other apps, besides iDownloads and GoodReader that it works with. I don't know how much experimenting you all have done with it. I wish I could use it with Documents, but Vittici's post about this said it didn't work and I've never found any info before about url schemes for Readdle apps.
-
https://forum.videolan.org/viewtopic.php?f=12&t=112372 is one month old from the VLC Lead Developer for IOS and Mac. It looks like vlc:// is only for remote files and streams but not for files that are already present in the VLC app for iOS.
Can you provide us the full URL that you are trying to use?
-
I was replacing iDownloads:// (I think that's what is originally used) in the script with vlc://, per instructions in a MacStories article about the script, the link for which I don't have on hand. But it is talking about using other apps like Documents or GoodReader. Though he mentions Documents doesn't seem to be able to download that. It says to replace the original scheme with, for the GoodReader example, ghttp:// . I despise GoodReader, but if necessary, I can just go with the one originally used in the script. Just thought it would be nice to be able to use VLC. But I guess I should have clarified that previously. Apologies and thanks for the response. Cheers!
-
This post is deleted! -
This post is deleted! -
This post is deleted! -
@omz Would it be possible to lock this thread? It seems to be quite the spam magnet, and there has been no real activity in 4 years.
-
@dgelessus Good idea.