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 Tue 02 Sep 2014, 16:03
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
You2pup-2.1.4 - YouTube multi format video downloader
Post new topic   Reply to topic View previous topic :: View next topic
Page 7 of 14 [196 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 12, 13, 14 Next
Author Message
aarf

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

PostPosted: Thu 13 May 2010, 03:13    Post subject:  

panzerpuppy wrote:
aarf wrote:
puppeeer1: http://www.youtube.com/watch?v=yHXwIywGxFs


Gnome MPlayer (included in Quirky) plays the Train Fail video perfectly Smile

GXine is a great audio and internet radio stream player, but it sucks ass for video.

switched 2 q1 and was able to play the previously download video. thanks.

_________________

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

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Thu 13 May 2010, 03:58    Post subject:  

Panzer, that is so cool. Finally a usage for Opera browser then Smile

Typical of me to fail something. Very good but behave in peculiar way.


Sound fails for me on the mp4 if Opera is running. Have to shut down opera and the sound comes back.
Another bug is that Opera fails to pause the video. It just goes on playing but download of temp works anyway so thanks indeed for describing this way to save things on yt.

Wonder if they come up with ways to stop that one too. They are at it I guess.
Fun while it work

Edit after more testing

I used opera in Q21 to download a tmp file of Dizzy Miss lizzy Larry Williams.

Reminded me of when I was 13 years old and loved the Little Richard screaming.

It played in Q21 but did not play in Lupu 499.


Firefox can also save youtube files that way. You look into root/tmp and when all is downloaded make a copy of it to your home partition so it doesn't go away.

Then rename it to one name like DizzyMisslizzyLarryWilliams.mp4 and quirky can play it off line. YT maybe do't like it and plug the ability sooner or later.

But you guys already knows this Smile I am a Johnny come lately I guess

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
panzerpuppy

Joined: 02 Oct 2007
Posts: 632

PostPosted: Thu 13 May 2010, 12:01    Post subject:  

OK, there is a way to bypass the locked file problem in Windows 7 by using an app called YouTube Downloader, but there are still issues with that app: there's no way to download 1080p (Full HD) videos and no option for downloading normal quality (480p) videos. When you download an SD video with the app,it downloads the crappy 360p version.

So, a Puppy Live CD is still useful even if you use Windows 7 as your main OS Smile

_________________
Turbopup Tech Support
Back to top
View user's profile Send private message 
soliver

Joined: 31 Oct 2009
Posts: 22
Location: Germany - Koblenz

PostPosted: Thu 13 May 2010, 14:53    Post subject: it WORKS...at he moment  

Few days ago I posted a change to youtube.sh and now it looks like it really works. I tested it several times and running fine.

My work now is working Cool
but please test it!!!!

Greets
youtube.png
 Description   
 Filesize   9.09 KB
 Viewed   2596 Time(s)

youtube.png

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


Joined: 11 Dec 2007
Posts: 1034
Location: Smithers, BC, Canada

PostPosted: Thu 13 May 2010, 16:16    Post subject:  

soliver wrote:
Few days ago I posted a change to youtube.sh and now it looks like it really works.

Works for me in quirky21.

The change is posted here

Good Job, Thanks, J
Back to top
View user's profile Send private message 
aarf

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

PostPosted: Thu 13 May 2010, 16:25    Post subject: Re: it WORKS...at he moment  

soliver wrote:
Few days ago I posted a change to youtube.sh and now it looks like it really works. I tested it several times and running fine.

My work now is working Cool
but please test it!!!!

Greets

this one i guess http://www.murga-linux.com/puppy/viewtopic.php?p=409630#409630
failed but with this mod as well it works on my unusual wifi proxy internet connection
Code:
wget -4 -O - -t 7 -w 5 --waitretry=14 --random-wait '--user-agent=Mozilla/5.0' -e robots=off $url > $filename

just add -4 to the wget line.

edit: worked for 1 file but failed the next try on the train and lobster1 links as posted before-above.
edit; worked 1 time only then failed on the one it previously succeeded on downloading the first time.

_________________

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

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
synth


Joined: 18 Mar 2009
Posts: 210

PostPosted: Fri 14 May 2010, 03:55    Post subject:  

You2pup version 1.4 for Quirky and Puppy:
-------------------------------------------------------------
- Brand new logo

- Improved user interface, popups and descriptions to make it more user friendly

- Includes the patch by soliver so it works with the latest YouTube changes



Download You2pup v1.4 from here:

http://stashbox.org/v/894983/you2pup-1.4.pet
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5109
Location: Charleston S.C. USA

PostPosted: Tue 18 May 2010, 01:16    Post subject: video settings  

I forward this from Quirky 1.1 bug report.

Quote:
By panzerpuppy,

You2Pup downloads the 480p version of any YouTube video (link) you drag into the URL box.

Attaching a '&fmt=xx' string after the URL will not override You2Pup's 'hardcoded' 480p download.

If you want higher or lower quality videos, you'll have to edit the script manually.

NOTE: if you change the fmt value to 22 or 37 in the download script to download HD videos, you won't be able to download 80% of the YouTube videos out there. Most videos are still in 360p or 480p format.

Someone needs to edit that script and add a quality selection box that changes (overrides) the fmt value for that session only.

fmt=18 for 480p
fmt=22 for 720p
fmt=37 for 1080p
and fmt=?? for 360p

We need to make You2Pup as good as (or even better better than) the 'YouTube Video Downloader' for Windows. It's a sad thing to see that it's much easier to do stuff under Windows.
Back to top
View user's profile Send private message 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Wed 19 May 2010, 06:09    Post subject:  

Thanks Synth Smile
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Mon 24 May 2010, 12:14    Post subject:  

Can someone please mirror synth's you2pup elsewhere. I have forgotten my password on stashbox and stashbox's hint+reset system does not work. Thanks.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5109
Location: Charleston S.C. USA

PostPosted: Mon 24 May 2010, 12:33    Post subject: You2Pup 1.4  

synth's You2pup version 1.4 for Quirky and Puppy:
you2pup-1.4.pet
Description  You2Pup-1.4.pet
pet

 Download 
Filename  you2pup-1.4.pet 
Filesize  13.85 KB 
Downloaded  674 Time(s) 

Last edited by bigpup on Mon 24 May 2010, 12:38; edited 1 time in total
Back to top
View user's profile Send private message 
russoodle


Joined: 12 Sep 2008
Posts: 659
Location: Down-Under in South Oz

PostPosted: Mon 24 May 2010, 12:36    Post subject: you2pup mirror  

Here you go:

http://puppylinuxstuff.meownplanet.net/PETS/you2pup-1.4.pet

user: puppy
pass: linux

_________________
This aging business really bugs me - it didn't bother me years ago, so why is it happening now??
meownplanet - puppylinuxstuff
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Mon 24 May 2010, 13:01    Post subject:  

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


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

PostPosted: Mon 24 May 2010, 22:53    Post subject:  

soliver & synth

Thanks for helping and great job, please notify Barry to update

reg,

Trio

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
soliver

Joined: 31 Oct 2009
Posts: 22
Location: Germany - Koblenz

PostPosted: Wed 26 May 2010, 05:32    Post subject: youtube.sh
Subject description: youtube.sh now with quality setting
 

Hello there

changed the youtube.sh code. Now there is a -q option for quality setting.
Try it out and see the pictures below.

here is the code:

Code:
#!/bin/bash

# YouTube download script by John Lawrence (http://blog.johnlawrence.net)
#Modified for puppy by trio - 2009
#100514 soliver: fix youtube.com change may 2010.
#100526 soliver: add quality settings

use_err() {
  echo "Usage:   `basename $0` [-f savefile] video_id [-q quality]"
  echo "Quality: `basename $0` -q 5,18,34,35 the higher the better and 13,17 for 3gpp"
  echo "Quality: You'll have to try out what's working for your vid."
  echo "Example: `basename $0` -f Rick oHg5SJYRHA0 -q 18"
  echo "         Saves video with id oHg5SJYRHA0 to Rick.flv in your current directory"
  echo "         with good quality."
  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"

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

shift $(($OPTIND - 2))

if [ -z $2 ];  then use_err; fi
if [ -z $q ];  then q=$2; fi

quality=$2
qsetting=$q

geturl() { echo "GET $1 HTTP/1.1";echo "Host: $2";echo;echo;sleep 2;echo '^C'; }

echo "Finding hostname"
#100514 soliver: fix youtube.com change may 2010...
#hostl=`geturl /watch youtube.com | nc youtube.com 80 | grep Location | sed 's|Location: http://\([^/]*\)/.*|\1|' | tr -d '\r\n'`
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="$qsetting""
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



tx to bigpup and panzerpuppy for the idea!!

POST YOUR FEEDBACK!!

thanks and take care


please have a look at pcrypt and pdircrypt Rolling Eyes
2nd.png
 Description   
 Filesize   17.9 KB
 Viewed   1958 Time(s)

2nd.png

1st.png
 Description   
 Filesize   8.12 KB
 Viewed   1948 Time(s)

1st.png

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 7 of 14 [196 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 12, 13, 14 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.0952s ][ Queries: 12 (0.0044s) ][ GZIP on ]