Page 4 of 13

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

Posted: Thu 18 Mar 2010, 22:02
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!

Posted: Fri 19 Mar 2010, 16:00
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

Posted: Wed 07 Apr 2010, 09:05
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

Posted: Wed 07 Apr 2010, 09:29
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.

Posted: Thu 08 Apr 2010, 13:15
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".

Same problem

Posted: Thu 08 Apr 2010, 15:04
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?

Posted: Fri 09 Apr 2010, 02:17
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

88 B mp4 files.

Posted: Fri 09 Apr 2010, 03:58
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.

Posted: Fri 09 Apr 2010, 04:01
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?

Posted: Fri 09 Apr 2010, 07:36
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.

Posted: Fri 09 Apr 2010, 09:58
by zandarian
Thanks to all. Here all as Yogi says.

Posted: Fri 09 Apr 2010, 13:06
by trio
I can confirm that you2pup 1.3-2 doesn't work anymore with the new site of youtube

Posted: Fri 09 Apr 2010, 17:03
by vtpup
Any chance of a solution?

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

Posted: Sat 10 Apr 2010, 03:51
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

hope problem solved--no not

Posted: Sun 11 Apr 2010, 08:56
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.

Posted: Mon 12 Apr 2010, 05:22
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/

Posted: Thu 15 Apr 2010, 13:42
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.

Posted: Thu 15 Apr 2010, 14:07
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.

Posted: Fri 16 Apr 2010, 09:54
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?

Posted: Fri 16 Apr 2010, 09:57
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)