You2pup works (June 2016) YouTube downloader

Browsers, email, chat, etc.
Message
Author
sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

you2pup needs gtkdialog

#211 Post by sindi »

Not usable in Pulp (4.1.2) or Basiclinux.
gtkdialog has dozens of dependencies.
Nice to have a choice of You2pup, youtube-dl,
gtk-youtubeviewer, and movgrab.

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

Re: Version 2.3 works with Lupu 5.2.8.6

#212 Post by trio »

sindi wrote:You2pup downloads in lupu 5.2.8.6.
Requires X.

Can I use yt-download.sh CLI and pipe to mplayer
rather than starting the download and then typing
mplayer /path/to/*.3gp?

mplayer works in framebuffer.
I don't know how to pipe it to mplayer

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#213 Post by trio »

Version 2.4: Changed how to get "video code" AGAIN - Zigbert's URL example, page 14

But still get error 403 for some urls. Maybe because of the encrypted signature thing or because it's a https. yt-download.sh can't handle

Illutorium
Posts: 170
Joined: Wed 06 Aug 2014, 07:12

#214 Post by Illutorium »

That's are be works on FatDog (64bit) too...
When it's does download only on Non-DASH videos (720p instead of 1080p/4K)... :/

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#215 Post by trio »

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

see main post

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#216 Post by trio »

Version 2.7: GUI is back! remembers last save dir, add 1 audio dl opt if available
see main post

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#217 Post by trio »

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

see main post

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#218 Post by trio »

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

2.7.3: just read only firefox .js file as precaution if 2 more than 1 mozilla browsers installed

see main post

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#219 Post by trio »

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
Ver b: presents selections of video ids to choose
a and b, firefox only with opened YouTube window(s)

see main post

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#220 Post by trio »

Version 2.7.5:
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 usse 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
see main post

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#221 Post by zigbert »

trio
In earlier days pMusic used you2pup to play youtube music. I have put this on the wishlist for pMusic 5.2.0

I see some bigger youtube grabber offers to search youtube. Do you have any future strategy?


Thank you for your code
Sigmund

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#222 Post by trio »

Version 2.7.7: GUI - add firefox search button, 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

see main post

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#223 Post by trio »

Hi Sigmund

I was thinking the same thing. like a standalone app that search and download youtube without a browser. That's a bit "too much" for gtkdialog, bash and my brain :D

Anyway, I keep digging

Regards

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#224 Post by trio »

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

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#225 Post by trio »

version 2.8.1: New download script by me....2 version GUI (1 with the help of browser and another without/independent

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#226 Post by trio »

version 2.8.2: script - get video name as video out[ut name
gui - bugfix remember last dir, gui width

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#227 Post by zigbert »

Suggestion:
- Update VID field in the main window when clicking on a thumb in the search window
- Activate search when pressing enter

require you2pupsearch to run in the background - adding an '&' at the end of the line

Code: Select all

	exec rxvt -bg "blue" -fg "white" -title "you2pup" -e you2pupsearch "$TERMS" &
The timer updates the VID field instead of the button

Code: Select all

<window title="You2Pup 2.8.2" width-request="500" allow-grow="false">
 <vbox>
  <frame Puppy YouTube Downloader> 
   <vbox>
    <pixmap><input file>/usr/share/pixmaps/you2pup.png</input></pixmap>
    <vbox width-request="400">
     <timer milliseconds="true" interval="200" visible="false">
      <action type="refresh">MSG</action>
      <action type="refresh">VID</action>
     </timer>
    </vbox>
    <hbox>
     <entry visible="true"> 
      <variable>TERMS</variable>
      <input>echo "Type search terms here"</input>
      <action signal="activate">search</action>
     </entry>
     <button tooltip-text="Search YouTube" visible="true">
      <input file stock="gtk-zoom-in"></input>
      <label>Web search</label>
      <action>search</action>
     </button>
    </hbox>

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#228 Post by trio »

version 2.8.3: Gui - enable multiple downloads
- No_browser: auto refresh VID when clicking pic when searching

Done Sigmun, thanks :)

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#229 Post by trio »

Sigmund,

The auto fetch vid will make old fashioned copy-paste impossible :)

I will think of something, or maybe a suggestion?

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#230 Post by trio »

version 2.8.4: regular version Gui - use consistantly /root/.you2pup/tmp, no nee relaunch gui when search

Post Reply