You2pup works (June 2016) YouTube downloader

Browsers, email, chat, etc.
Message
Author
Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

Re: You2pup-1.3-2 - YouTube MP4 downloader GUI

#61 Post by Leon »

trio wrote:Version 1.3-2
trio,

When all attempts to download a video by using all other ways failed I tried your You2pup and it has done the job without any problem.

Many thanks!

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

#62 Post by trio »

Leon,

You are welcome. Users like you, make devs feel happy. Puppy is free, but the efforts cost devs time and energy, sometimes personal values. But it's all worth the effort when puppy users are happy. My time is very limited now, that's why my lastest release (wbarcc) has a big time gap with the last one before it. But I never really leave puppym

Cheers

zandarian
Posts: 117
Joined: Wed 14 Oct 2009, 21:10

#63 Post by zandarian »

Hello: I've tried several times the You2pup that comes with the last Puppy Linux (v. 4.3.1). Its version is 1.3-1. The terminal opens but after 2 or 3 lines closes (it doesn't do all shown in rxvt.jpg, image of first page of this post). It creates .mp4 files of 88 B that don't work. The videos I've tried don't start with dash, so I shouldn't need the last version, 1.3-2. Or do I? Does 1.3-2 have more improvements apart from the dash issue? Thanks

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#64 Post by abushcrafter »

zandarian wrote:Hello: I've tried several times the You2pup that comes with the last Puppy Linux (v. 4.3.1). Its version is 1.3-1. The terminal opens but after 2 or 3 lines closes (it doesn't do all shown in rxvt.jpg, image of first page of this post). It creates .mp4 files of 88 B that don't work. The videos I've tried don't start with dash, so I shouldn't need the last version, 1.3-2. Or do I? Does 1.3-2 have more improvements apart from the dash issue? Thanks
Yes.

zandarian
Posts: 117
Joined: Wed 14 Oct 2009, 21:10

#65 Post by zandarian »

Thank you, abushcrafter. I've upgraded to v.1.3-2 with same results. More info: if I click on the 88 B mp4 files that create gxine 0.5.9 opens with a message that says: "Error from the xine engine. The xine engine failed to start. No demuxer found - stream format not recognized".

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

Same problem

#66 Post by Yogi »

Hello Trio,

I'm using v.1.3-2 and Puppy 2.17 and having the same symptoms as Zandarian. Is there any method you can recommend to troubleshoot this?

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

#67 Post by trio »

Zandarian and yogi,

Can you try to open the downloaded mp4 file with other computer (other OS/windoze) and see if it plays correctly. If so, then the problem is with codec. you2pup only downloads the file, it doesn't have anything to do with the players.

Regards,

Trio

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

88 B mp4 files.

#68 Post by Yogi »

Trio,

The problem is that YouTube/You2pup downloads an mp4 file that is
only 88 bytes in size. There's no content. It's basically header information.
When the terminal opens it connects to YouTube but only stays open for
approx 5 seconds then shuts down. I think Zandarian has the exact same
issue.

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

#69 Post by trio »

Hmm I think maybe yotube site changes its url again since the Dec 2008's url. I have to check this. Anyone else have this problem?

Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

#70 Post by Leon »

trio wrote:Hmm I think maybe yotube site changes its url again since the Dec 2008's url. I have to check this. Anyone else have this problem?
Yes, I noticed it too.
Obviously something changed at Youtube.

zandarian
Posts: 117
Joined: Wed 14 Oct 2009, 21:10

#71 Post by zandarian »

Thanks to all. Here all as Yogi says.

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

#72 Post by trio »

I can confirm that you2pup 1.3-2 doesn't work anymore with the new site of youtube

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#73 Post by vtpup »

Any chance of a solution?

I love how Youtube/Google solicits free content, then tries to make it proprietary.....

Buck Huffman
Posts: 5
Joined: Sat 10 Apr 2010, 03:35

#74 Post by Buck Huffman »

the mp4 file is just a text file that say's:

wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.

wtf

soliver
Posts: 22
Joined: Sat 31 Oct 2009, 17:58
Location: Germany - Koblenz

hope problem solved--no not

#75 Post by soliver »

Hello together

This is my first post in the forum, so I hope it'll help.

To get you2pup working again change the source of /usr/sbin/youtube.sh

Here is the complete source:
#!/bin/bash

# YouTube download script by John Lawrence (http://blog.johnlawrence.net)
#Modified for puppy by trio - 2009
#Modified for puppy by soliver - 2010

use_err() {
echo "Usage: `basename $0` [-f savefile] video_id"
echo "Example: `basename $0` -f Rick oHg5SJYRHA0"
echo " Saves video with id oHg5SJYRHA0 to Rick.flv in your current directory"
echo
exit 65
}

if [ ! $1 ]; then use_err; fi

while getopts ":f:" Option
do
case $Option in
f ) fn=$OPTARG;;
* ) use_err;;
esac
done

shift $(($OPTIND - 1))

if [ -z $1 ]; then use_err; fi
if [ -z $fn ]; then fn=$1; fi

vidID=$1
filename=$fn".mp4"
geturl() { echo "GET $1 HTTP/1.1";echo "Host: $2";echo;echo;sleep 2;echo '^C'; }

echo "Finding hostname"
hostl=`geturl /href youtube.com | nc youtube.com 80 | grep Location | sed 's|Location: http://\([^/]*\)/.*|\1|' | tr -d '\r\n'`
echo "Connecting to "$hostl

watch="/watch?v="$vidID
tid=`geturl $watch $hostl | nc youtube.com 80 | grep '"t":' | sed 's/.*"t": "\([^"]*\)".*/\1/'`

echo "Locating video file"
get_video="/get_video?video_id="$vidID"&t="$tid"&el=detailpage&ps=&fmt=18"
url=`geturl $get_video $hostl | nc youtube.com 80 | grep Location | sed 's/Location: \(.*\)$/\1/' | tr -d '\r\n'`

wget -O - -t 7 -w 5 --waitretry=14 --random-wait '--user-agent=Mozilla/5.0' -e robots=off $url > $filename
It's only one change in line 35 :
hostl=`geturl /watch youtube.com ....
to
hostl=`geturl /href youtube.com ....

For me it's working at the moment, so I hope I can help.

Take care and thanks for all the help and good stuff!!

Greets


*Edit*
Sorry I was too enthusiastic. It worked 2 times, but then...
I'm really sorry. Please don't mind.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#76 Post by nooby »

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

http://googlesystem.blogspot.com/2008/0 ... files.html
What was that all about. Site page seems to not exist on that site anymore.

How does one find it on some other site?

Could this be the same?

http://chris.pirillo.com/how-to-downloa ... be-videos/
I use Google Search on Puppy Forum
not an ideal solution though

chrissy
Posts: 18
Joined: Sat 16 Jan 2010, 18:45

#77 Post by chrissy »

Im using 1.3-2 right now.
I called my save folder vids and my files are all one word names and I think that must be why they are downloading alright.
They play in gxine without error.
I tried some two word names with a space in and they wouldn't download at all.
Anyway its an easy way to catch a utube file and watch it when I want so I am well pleased.

Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

#78 Post by Leon »

chrissy wrote:Im using 1.3-2 right now.
I called my save folder vids and my files are all one word names and I think that must be why they are downloading alright.
They play in gxine without error.
I tried some two word names with a space in and they wouldn't download at all.
chrissy,

You are right. I tried your way and it worked.

Many thanks for the solution.

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

#79 Post by trio »

Leon wrote:
chrissy wrote:Im using 1.3-2 right now.
I called my save folder vids and my files are all one word names and I think that must be why they are downloading alright.
They play in gxine without error.
I tried some two word names with a space in and they wouldn't download at all.
chrissy,

You are right. I tried your way and it worked.

Many thanks for the solution.
I don't get it...now it works again?

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

#80 Post by trio »

Yes, It worked....hmmm strange...as for the naming of file...yes it should be one word name, but that's not why it won't work last time (It's is always like that from the first time I made you2pup)...well, good now it's working again (downloading a video now)
Attachments
you2pupworks.jpg
(60.31 KiB) Downloaded 1641 times

Post Reply