Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 29 Aug 2016, 19:31
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
You2pup works (June 2016) YouTube downloader
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 16 [233 Posts]   Goto page: 1, 2, 3, ..., 14, 15, 16 Next
Author Message
trio


Joined: 21 Dec 2008
Posts: 2083
Location: अनुमोदना

PostPosted: Sat 25 Jul 2009, 13:52    Post subject:  You2pup works (June 2016) YouTube downloader
Subject description: NEW 2016
 

WORKING AGAIN AS OF 25 June 2016
Hi,

This is a Tool for downloading youtube:

dependency: rxvt

PLEASE TEST

Little issue, since i am using video name as output nme, if there are ! Or maybe some other marks, mplayer doesnt open. You have to rename it.

version 2.8.5: no browser version, bugfix: forgot to put you2pupsearch file in pet (sorry)
version 2.8.4: regular version Gui - use consistantly /root/.you2pup/tmp, no nee relaunch gui when search
No browser version: GUI - reconstrcted by Zigbert
Script - streaming play added
version 2.8.3: Gui - enable multiple downloads
- No_browser version: auto refresh VID when clicking pic when searching
version 2.8.2: script - get video name as video output name
gui - bugfix remember last dir, gui width
version 2.8.1: New download script by me....2 version GUI (1 with the help of browser and another without/independent0
Version 2.8: You2pup stand alone, no need browser (search function helped by Zigbert). Note: the perl download scripts fails for some videos
Version 2.7.8: I changed the download script to a modified perl script from https://calomel.org/youtube_wget.html , the bad thing is that it doesn't give options to download, only mp4 by default ( you may change the script to download other format. but only1 at a time). I will try to convert it to bash so that I can easily suit it to my needs. I don't know any perl Very Happy . at least it works on my slacko 6.3.0 with its perl
Version 2.7.7: GUI - add firefox search button (if firefox is available), so user can launch you2pup before opening firefox. on its first search launch, you2pup window will close and re-open in 10 secs (to give time for firefox to open if slow connection), remeember the catcth url button only appears if at least 1 firefox youtube window is opened and focused

Other browsers still can copy and paste as usual

Version 2.7.6: just cosmetics, use scrolling text
Version 2.7.5: tested in slacko 6.3 with firefox
GUI:
- Decided to go with b version which give multiple urls if available in firefox data
- Have to open at least 1 FIREFOX tab/window of Youtube video to make button appear
- Non FIREFOX user can still use it by copying & pasting video_id
- Now list with title to make user easy
- give info if url(s) is not yet ready in firefox data
Script:
- wget only, no curl
- still can be used in many distros as stand alone cli app (dependecies: bash, wget, dialog)
- Now can grab .webm also

Version 2.7.4: - Bugfix - when checking if output file exists
Ver .a: supply video id box with the only opened YouTube window. If 2 or more, than it will supply video id of first opened YouTube window ----> deleted (buggy)
Ver b: presents selections of video ids to choose
a and b, firefox only with opened YouTube window(s)
Remember to be a bit patient, firefox updates data in every 15 secs

Version 2.7.3: precautiion if two mozillas installed, read firefox .js file only
Version 2.7.2: with URL catch button, to easily fill video id box (appears only if using firefox (mozilla) on current opened YouTube window). Works with firefox in slacko 6.3
Version 2.7.1: add warning if output file exists
Still can be used as cli app only. See usr/sbin/you2pupscript or type you2pupscript in terminal. It is only bash and dialog, common in other distros also.
Version 2.7: GUI is back! remembers last save dir, add 1 audio dl opt if available
Version 2.6: It's a commandline app only (will make gui later). Can be used for other distros (see /usr/sbin/you2pupscript). usage: see pic
Version 2.5: Change how functions work
Version 2.4: Changed how to get "video code" AGAIN - Zigbert's URL example, page 14
Version 2.3: Changed how to get "video code" - thx Sigmund
Version 2.2: Works for me, please test
Version 2.1.3 - Fixes if there's "/" in title, 2 versions available, for general puppies and for lupu520/wary (with urxvt embed option)
Version 2.1.2 - Only for LUPU 520/wary (or any puppy using urxvt with -embed option), rxvt now embeded in you2pup window, option to abort (see picture), non-resizable window
Version 2.1.1 - For general puppies, Change gxmessage with Xdialog for warnings, use /tmp folder for tmp file, a bit cosmetics when in rxvt
Version 2.1 - MULTI FORMAT DOWNLOAD ABILITY, took out the conversion and play functions (back to basic), no need to spesify name (auto-naming) - Thanks to Mr. Arif AGAIN!! http://arif.suparlan.com/2011/02/23/download-youtube-video-dengan-shell-script
Version 2.0 - New Download Engine!! Works as per FEB 2011 - Made and tested on LUPU 520 - Thanks to Mr. Arif http://arif.suparlan.com/2010/07/30/download-youtube-video-dengan-shell-script-update

Update-Stopped working again (May 2010)
still works with new site of youtube (April 2010)

Version 1.3-2 - Fixes if the vid ID begins with a dash, it won't download. (e.g. youtube.com/watch?v=-sulDYYAiCU) (thx to Kenhelm)
- Note: Always use one word file name for new downloaded file
Version 1.3-1 - rearranged GUI
Version 1.3 - Play function added, off course after you download/convert first
Version 1.2-2 - using rxvt to command ffmpeg (convert function)
Version 1.2 - added, file conversion function
Version 1.1 - ability to choose directory - thanks Lobster

Inspired John Lawrence's work at http://www.johnlawrence.net/code/?f=youtube.sh

Menu entry is under "Internet" group

Laughing

Don't forget to run fixmenus, restart w manager (older puppies)
you2pup-2.8.5_no_browser.pet
Description 
pet

 Download 
Filename  you2pup-2.8.5_no_browser.pet 
Filesize  14.54 KB 
Downloaded  93 Time(s) 
you2pup-2.8.4.pet
Description 
pet

 Download 
Filename  you2pup-2.8.4.pet 
Filesize  14.91 KB 
Downloaded  55 Time(s) 
you2pup-2.8.pet
Description  Version 2.8: You2pup stand alone, no need browser (search function helped by Zigbert).
pet

 Download 
Filename  you2pup-2.8.pet 
Filesize  16.41 KB 
Downloaded  40 Time(s) 
you2pup-2.7.8.pet
Description 
pet

 Download 
Filename  you2pup-2.7.8.pet 
Filesize  16.67 KB 
Downloaded  67 Time(s) 
you2pup.jpg
 Description   
 Filesize   41.28 KB
 Viewed   586 Time(s)

you2pup.jpg


_________________
My apps

Last edited by trio on Wed 29 Jun 2016, 11:42; edited 92 times in total
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6681
Location: Auckland, New Zealand

PostPosted: Sat 25 Jul 2009, 21:07    Post subject:  

For people running Firefox extensions like "Download helper" should be more convenient... not sure if any of them work in Seamonkey.
_________________
Classic Puppy quotes
-
root: n. the superuser or administrator account that has complete control over everything in the machine. Running as root is a taonga of Puppy Linux users.
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 2083
Location: अनुमोदना

PostPosted: Mon 03 Aug 2009, 22:58    Post subject:  

New, considering that the new flv from youtube can't be played even in VLC, I modified you2pup to download in mp4 which can easily played. see main post
_________________
My apps
Back to top
View user's profile Send private message 
rjbrewer


Joined: 22 Jan 2008
Posts: 4422
Location: merriam, kansas

PostPosted: Tue 04 Aug 2009, 00:51    Post subject:  

I don't see the need for it.
It's simpler and faster to use this method.

http://googlesystem.blogspot.com/2008/04/download-youtube-videos-as-mp4-files.html

_________________

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 2083
Location: अनुमोदना

PostPosted: Tue 04 Aug 2009, 00:57    Post subject:  

Rjbrewer,

Maybe not for you, I always think to make puppy easier for newbies, and non-technical users, that is to create GUIs. So, maybe somebody will see this useful

_________________
My apps
Back to top
View user's profile Send private message 
rjbrewer


Joined: 22 Jan 2008
Posts: 4422
Location: merriam, kansas

PostPosted: Tue 04 Aug 2009, 01:25    Post subject:  

It's easier for a newbie or anyone else to use the
method in that link!

_________________

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 2083
Location: अनुमोदना

PostPosted: Tue 04 Aug 2009, 01:30    Post subject:  

We'll see,.. I made this not for you only rjbrewer... So don't use it, others might want to.use it than your link..Wink
_________________
My apps
Back to top
View user's profile Send private message 
rjbrewer


Joined: 22 Jan 2008
Posts: 4422
Location: merriam, kansas

PostPosted: Tue 04 Aug 2009, 01:55    Post subject:  

The method in that link worked the first time I tried it and every
time since for months now.

Your new widget will be nice, but I,m mostly concerned with
seeing the capabilities of pstreamvid expanded and perfected.

_________________

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 2083
Location: अनुमोदना

PostPosted: Tue 04 Aug 2009, 02:19    Post subject:  

well, this downloader should work ok too..as I stated on the title " a little project" .. so little that I don't need to give it more work..don't worry, I'll look after pstreamvid

thanks

_________________
My apps
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15159
Location: Paradox Realm

PostPosted: Tue 04 Aug 2009, 03:36    Post subject:  

Quote:
so little that I don't need to give it more work.


Works OK Smile Many thanks
had to run
/usr/local/you2pup/you2pup
until I found your program under Menu/internet
perhaps it should go under multimedia?

use a file select button for the destination of files

Code:
 <hbox>
  <text><label>Dest Dir:  </label></text>
  <entry accept="directory"><variable>DEST</variable><input>/tmp/pm_mirror_dir</input></entry>
  <button>
   <input file icon="gtk-open"></input>
   <action type="fileselect">DEST</action>
   <action>refresh:DEST</action>
  </button>
 </hbox>


you can see a working example here (in 4.3 prebeta)
/usr/sbin/pwsget

Hope that is useful Cool

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 2083
Location: अनुमोदना

PostPosted: Tue 04 Aug 2009, 03:41    Post subject:  

thanks Lobster, I used that method to choose DIR in PET MAKER .. anyway, maybe you're right, newbies have to be guided through the whole process, even forced to choose a right directory...
_________________
My apps
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3614
Location: around the bend

PostPosted: Sun 09 Aug 2009, 11:51    Post subject:  

just another option, seamonkey has a addon which takes you to:
http://dys.lexal.net/flv/downloader.php? (it's free despite all the pay signs.) worked the couple of times i tried it for youtube. at other sites not among those listed there which mask the swf location, failed to download the swf file.

edit: as with videodl.org as soon as i posted it to this form it now also fails to get youtubes

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>

Last edited by aarf on Thu 20 Aug 2009, 10:17; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
magerlab

Joined: 08 Jul 2007
Posts: 731

PostPosted: Sun 09 Aug 2009, 13:14    Post subject:  

i do not recall now about youtube, but i use flashgot addon for seamonkey to download flash video from many sites easily
_________________
skype: desafimager
Back to top
View user's profile Send private message 
Kenny-M


Joined: 15 May 2009
Posts: 147
Location: United States

PostPosted: Tue 11 Aug 2009, 14:23    Post subject:  

Trio,

Sweet! Not to show my age but this is one of my
favorites even thought it's dated and not the best
quality.

Everything works fine. And is where I would expect
it to be under Internet because it is an Internet app.

http://www.youtube.com/watch?v=iknEJf9cPeY




Who is that guy hiding behind a DEC PDP-11/70 running Unix?
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 2083
Location: अनुमोदना

PostPosted: Wed 12 Aug 2009, 00:17    Post subject:  

thanks Kenny,

Glad you like it. Puppy is for young and old I guess Laughing

_________________
My apps
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 16 [233 Posts]   Goto page: 1, 2, 3, ..., 14, 15, 16 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0709s ][ Queries: 13 (0.0129s) ][ GZIP on ]