OS4 DepotLogo by Nickman 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 File comments for:  Video » Misc » yt.lha


Description: YouTube URL Extractor script
Download: yt.lha
Version: 2.5
Date: 13 Dec 2023
Category: video/misc
FileID: 12760
RSS Feed url: http://www.os4depot.net/modules/comments/rssfeed.php?file=video/misc/yt.lha

[Back to readme page]   [Add Comment]   [Refresh page]

Comment by: MickJT ( 08 Oct 2022, 09:50File version: 2.4
Oops I meant I can remove the slash in the next release, not the colon. You know what I meant :-)
Comment by: ktadd ( 30 Sep 2022, 01:10File version: 2.4
As it turn out it is an Enhancer2 version of makedir
I'll submit a bug report.

10.RAM Disk:> makedir test_dir/
Failed to create directory test_dir/ - object not found
10.RAM Disk:>
10.RAM Disk:> version full makedir
MakeDir 54.11 (07/28/2022)
Copyright (C) 2022 AmigaKit Ltd.
Comment by: MickJT ( 29 Sep 2022, 13:56File version: 2.4
I'm guessing that's 3rd party. Mine is 52.1 with latest OS4.1 Update 2 updates. Perhaps there needs to be a bug report for that one regarding compatibility.
Comment by: ktadd ( 28 Sep 2022, 08:23File version: 2.4
9.System:> version makedir
MakeDir 54.11
Comment by: MickJT ( 26 Sep 2022, 14:31File version: 2.4
What version of MakeDir? I can remove the colon on the next release but I'm surprised it causes a problem.
Comment by: ktadd ( 23 Sep 2022, 20:11File version: 2.4
Seems to be a bug in version 2.4.
I get the following error when using:

"Failed to create directory T:YT/ - object not found
Unable to open T:YT/YT-Debug.log"

To fix I changed the following line:


Had to take out the / after YT. Then it works great.

Comment by: MickJT ( 05 Dec 2021, 06:16File version: 2.3
Ah whoops, not configurable directly in YT.cfg, but Tools/curl is bundled :)
Comment by: MickJT ( 05 Dec 2021, 06:13File version: 2.3
I just figured it uses APPDIR: automatically, so no need for the APPDIR: prefix, but as you've noted, it checks PATH first before APPDIR. I think that's unlikely to be a problem, and the path is configurable in YT.cfg
Comment by: jabirulo ( 04 Dec 2021, 11:35File version: 2.3
HI, I don't understand this piece of code:
IF ~Exists(Curl) THEN DO
IF ~Exists("APPDIR:curl") THEN Call ErrMsg("Cannot find "Curl)
ELSE Curl="curl"

shouldn't the last 'ELSE Curl="curl"' be 'ELSE Curl="APPDIR:curl"'? or is it to "search" through "PATH environment"
Comment by: Thematic ( 24 Oct 2020, 09:57File version: 2.1
Oops, those were outliers. 2.1 does work.
Comment by: Thematic ( 24 Oct 2020, 09:51File version: 2.1
I guess it's gone now. No media.
Comment by: HKvalhe ( 20 Feb 2020, 23:06File version: 2.1
Works brilliantly here! Thanks for the update!
Comment by: khayoz ( 20 Feb 2020, 20:33File version: 2.1
Yeah thank you for the update!
Comment by: white ( 19 Feb 2020, 21:33File version: 2.1
Hi Michael,Thanks, YT 2.1 works perfectly
Comment by: Thematic ( 15 Oct 2019, 19:02File version: 2.0
I'm having some trouble with SSL enabled mplayer, maybe I should use curl instead (-cache 2048 used for better performance):
[https @ 0x55848290]Stream ends prematurely at 19201904, should be 19488462
[aac @ 0x5599edc8]decode_band_types: Input buffer exhausted before END element found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5586b4c0]stream 1, offset 0x124ffb7: partial file
[https @ 0x55848290]Stream ends prematurely at 19201904, should be 19488462
Audio output truncated at end.
[https @ 0x55848290]Stream ends prematurely at 19201904, should be 19488462
[https @ 0x55848290]Stream ends prematurely at 19201904, should be 19488462
[https @ 0x55848290]Stream ends prematurely at 19201904, should be 19488462
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5586b4c0]stream 1, offset 0x12500c5: partial file

VO: Enabling blanker

Exiting... (End of file)
Comment by: MickJT ( 27 Nov 2018, 10:55File version: 1.9
Hi Dan. It's up to the server to send the required information, otherwise the browser will use the name before the question mark. So no easy way unfortunately.
Comment by: dan.hutch ( 26 Nov 2018, 17:57File version: 1.9
Is there a way of getting videos to be named with there actual name rather than 'videoplayback' when downloaded? I tried downloading several and ended up overwriting the same file over and over.
Comment by: Thematic ( 13 Sep 2018, 18:07File version: 1.7
Gone now ("protected").
Comment by: Thematic ( 23 Aug 2018, 17:53File version: 1.7
Nice surprise, thanks!
Comment by: MickJT ( 28 Oct 2017, 17:05File version: 1.5
Hi, I'm not familiar with how Emotion works with SMtube. Is it using STDIN somehow? I will send you a message on EAB and we can message each other there.
Comment by: white ( 26 Oct 2017, 23:34File version: 1.5
Hi, Michael you can make some changes to the arexx script so you can use it with emotion player, thanks for any response.
I leave you the link maybe may be useful
thank you!
Comment by: Deniil ( 16 May 2017, 12:25File version: 1.5
Awesome script!!
Allows super easy download of videos too! :-D
Comment by: jabirulo ( 03 May 2017, 14:00File version: 1.5
Hi, I added a few changes (3 translated Righio strings) and "adapted" HTML tables code.
My email is jabierdlrATgmailDOTcom or can I send the diffs (YT.rexx changed) to you (your email please)?
Comment by: HKvalhe ( 02 May 2017, 12:18File version: 1.5
I think it's rather understandable that we are getting to use more and more HTTPS sites instead of HTTP. So that's probably only a natural progress. Fortunately, the guide describes very well what can be configured in the script. That shouldn't be a problem. Keep up the excellent work :)
Comment by: MickJT ( 05 Apr 2017, 17:44File version: 1.4
I should mention that the script doesn't know it's forcing SSL, so you should use the "ssl" command line option as well or configure that in script, and that way it'll use the stdin/stdout method to play the video.
Comment by: MickJT ( 05 Apr 2017, 17:18File version: 1.4
Yeah I've noticed it's forcing SSL now. If you use the "Play Video" option in shell, there's an experimental option where mplayer streams from STDIN. I've been slack on getting 1.5 out. If you've noticed some videos not working, those should be working again when 1.5 is out, but I probably won't be able to force plain HTTP anymore. That's hit and miss now.
Comment by: Thematic ( 05 Apr 2017, 00:11File version: 1.4
Youtube dot com seems to default so SSL link for the videos themselves. This is not something mplayer I use is happy with, though wget does work. Is it possible to still use plain HTTP directly, it seems no?
Comment by: HKvalhe ( 20 Feb 2017, 20:21File version: 1.4
Made it right now, so yes it DOES work! Thanks again! Made me very happy :)
Comment by: HKvalhe ( 20 Feb 2017, 20:14File version: 1.4
Oh, so to understand. Sure had me fooled. I guess i shouldn't trust that guide too much. I try to correct it by the way. Thank you for letting me know. Yes, you're right about that mistake i did. Thanks mate :)
Comment by: MickJT ( 19 Feb 2017, 22:50File version: 1.4
At the moment there's an issue (already been fixed) in 1.4 with some videos, but I don't think that's the issue you're having. I'm guessing you may have pasted verbatim "<YT.rexx path/name>" from the guide instead of replacing it with the path like "Work:path/YT.rexx".
Comment by: HKvalhe ( 19 Feb 2017, 15:38File version: 1.4
When trying to use "Open with YT.rexx" on a YouTube video, a message says "RX: Unable to open redirection file". I don't know what that means. The settings in Odyssey are rights. I have the latest YT.rexx version 1.4. Any idea?
Comment by: MickJT ( 31 May 2016, 04:22File version: 1.4

Everything seems fine here. Message me on the amigans forum with the information about what you were trying to do and I'll take a look.
Comment by: thematic ( 30 May 2016, 20:38File version: 1.4
Did this break, just now?
Comment by: ghh ( 25 Jun 2015, 15:29File version: 1.2a
Superb script an documentation. Thank you.
Comment by: Petrol ( 19 Jun 2015, 12:18File version: 1.2a
Nice work!
Comment by: HKvalhe ( 18 Jun 2015, 12:44File version: 1.1
Very useful and promising script! Thanks for making this :) I copied YT.rexx and its' Tools to SYS:S/ARexx, which i assume is correct and just added the commands in the Context Menu part in Odyssey. Working really good on my SAM460ex! Thanks again! :)
Comment by: jabirulo ( 04 Jun 2015, 23:48File version: 1.0
Comment by: mbrantley ( 03 Jun 2015, 02:30File version: 1.0
This script plus mplayer plus Odyssey combine for a great YouTube experience on my X1000. It's now even possible to download DRM protected videos. Bravo!
Comment by: anonymous ( 03 Jun 2015, 00:29File version: 1.0
Expedient! I appreciate a working script.

Copyright © 2004-2024 by Björn Hagström All Rights Reserved