You2pup works (June 2016) YouTube downloader

Browsers, email, chat, etc.
Post Reply
Message
Author
User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#136 Post by 8-bit »

I do not know if this has anything to do with download failures, but I have noticed on Youtube and Hulu that both have changed in that part of a movie is played and then a commercial is played which then takes one back to the movie.
The downloader sees an erronious end to the movie and assumes it is done when in fact, one only has part of the movie downloaded.

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

#137 Post by trio »

@8bit:

Hmm...just tried to download several short (1 minute) youtube movies though ... they all downloaded correctly ...

Haven't tried with longer movies ....

Downloading now ... a song ... so far so good .... (5 minutes movie)

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

#138 Post by trio »

Downloaded a 5 minute Video fine

Downloading a 15 minute Video now

EDIT: Yup a 15 minute video's downloaded fine

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#139 Post by 8-bit »

trio,

I do not think there is anything wrong with your application.
What I was getting at, is that Youtube and Hulu have started a practice of showing commercials at different times and then the movie continues.
When the movie pauses to play the commercial, it makes an app that looks for a stream end to think the movie has completed when in fact it has not.
As an example, not on the internet, but using PupRadio/Telly, I went to play a cartoon channel that showed cartoons one after another.
when a cartoon would end, the app assumed the stream had ended and shut it down.
I could then immediately restart the stream and the next cartoon would play and then shut down the stram again.

It is not a big thing, and the providers may do these things for copyright protection.

gcmartin

You2PUP save from any other Video sites?

#140 Post by gcmartin »

Saw this and wanted to know if this tool will save from any other sites, as well.

FF/SeaMonkey have a plug-in tool (several, in fact) that will do similar downloads from Youtube and other sites. I assume this is a replacement tool that can be run from the desktop. Is that correct?

Thanks in advance

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

#141 Post by trio »

gcmartin

Well, 1'm 99% sure that this won't work with any other tube sites ... unless those sites have exactly the same html page structure (how they put the video url) as youtube.

regards

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

#142 Post by trio »

Updated - Download at main post

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/dow ... ell-script

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

#143 Post by trio »

Version 2.1.1 - Change gxmessage with Xdialog for warnings, use /tmp folder for tmp file, a bit cosmetics when in rxvt

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

#144 Post by trio »

Version 2.1.2 - rxvt now embeded in you2pup window, option to abort (see picture), non-resizable window

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

#145 Post by nooby »

Thanks to a PM now I know and the embarrassing thing is that I knew this a week ago and then forgot all about it.

I remember that somebody gave example on another site that they made a link to and there described how one could save even streaming video that was not Flash related.

They use CLI or Console or Terminal code to copy and change a cache file into a working file to be played by Mplayer or VLC.

I lost the link I was in another OS at the time.
Last edited by nooby on Tue 01 Mar 2011, 11:08, edited 1 time in total.
I use Google Search on Puppy Forum
not an ideal solution though

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

#146 Post by trio »

Maybe somebody using puppy version older than Lupu can help me check if rxvt can be embedded in the you2pup window? does it still work even if it isn't embbedded or it doesn't work at all

thanks

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#147 Post by sc0ttman »

trio wrote:Maybe somebody using puppy version older than Lupu can help me check if rxvt can be embedded in the you2pup window? does it still work even if it isn't embbedded or it doesn't work at all

thanks
I'm using puppy 4.2 (or at least, a derivative of it, which no changes to rxvt)... And my rxvt does not have the embed option, it is unrecognised - and so your new "you2pup" and "Pet Maker" scripts halt and exit when trying to load rxvt..

(So the GUIs appear to do nothing when you click 'Download' or 'Create PET'...)

So, I edited the scripts, to remove the "-embed" option and they work fine.
I even compiled the latest rxvt, with lots of stuff enabled, so that the binary was 200kb! But still not working..

(Not sure which option enabled embedding though, did not see it listed explicitly.... )
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

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

#148 Post by trio »

Version 2.1.2 - Only for LUPU 520, 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

Thanks scottman, and the real name of the console in lupu is actually urxvt ...

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#149 Post by sc0ttman »

trio wrote:Thanks scottman, and the real name of the console in lupu is actually urxvt ...
I'll compile that one then! I thought it only had utf support added, but seems it has other things as well... Thanks Trio.

Love the tools by the way, especially the new you2pup, I love being able to choose mp4, as my system won't play youtube (or similar) flvs... forgot to say that earlier...

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#150 Post by Dougal »

sc0ttman wrote:I love being able to choose mp4, as my system won't play youtube (or similar) flvs... forgot to say that earlier...
The newer flash files are not very different from the mp4... it's just the wrapper that needs changing. I have a script named F4V2MP4 which just contains the following command:

Code: Select all

ffmpeg -i "$1" -acodec copy -vcodec copy "${1%.f4v}.mp4"
which converts it to mp4 (note that it does not re-encode the video -- it's just a trivial wrapper conversion from f4v to mp4...)

Trio: your friend could have made the loop parsing the maps a little more elegant, without the arbitrary 10-iteration limit...
For example:

Code: Select all

Tmp=$(grep -o "'PLAYER_CONFIG': {.*}" $TmpFile)

declare -a Url_array Geom_array

UrlMap=${Tmp#*"fmt_url_map": "}
UrlMap=${UrlMap%%"*}

GeomMap=${Tmp#*"fmt_map": "}
GeomMap=${GeomMap%%"*}

FmtList=""

for i in ${UrlMap//,/ } ; do
	Fmt=${i%%|*}
	Url=${i#*|} ; Url=${Url%%|*}
	Url_array[$Fmt]=$Url
	FmtList="$FmtList $Fmt"
done

for i in ${GeomMap//,/ } ; do
	Fmt=${i%%\\*}
	Geom=${i#*/} ; Geom=${Geom%%\\*}
	Geom_array[$Fmt]="$Geom"
done

for i in $FmtList ; do
	echo "fmt:$i geom:${Geom_array[$i]} url:${Url_array[$i]}"
done
This way you create sparse arrays with the data and use the format as the index...
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#151 Post by Makoto »

Hmm... updated the old version of You2pup that was included with my 4.3.1 setup to 2.1.1, and it seemed to be working properly - but the rxvt window disappears after I've selected the download resolution/filetype. :(

YouTube hasn't changed things again, have they?
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

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

#152 Post by trio »

Makoto

Still works,

Try again? or post the video u want to downlad? Check your connection?
Attachments
still_works.jpg
(20.69 KiB) Downloaded 1557 times

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#153 Post by Makoto »

I think it may be the length (time?) of the video - I've tried a few smaller videos (commercials, etc.), and all of those worked. The one I tried first just caused rxvt to evaporate no matter what resolution/format I picked (I also tried it again after having no problems with the 'smaller' videos, and it didn't work), but it's more or less a 10 to 15-minute video (from a cartoon, Spliced!.)

Here's a link to the video: http://www.youtube.com/watch?v=LEFJvjYR3ks

I didn't try it with any of the other 10-15-minute clips. Could RAM limitations on my system have something to do with it? I do only have 128MB of RAM (640MB of swapfile space, though). I doubt it's the hard drive space - otherwise, I might have had a chance with the 320x and 640x resolutions... maybe.
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

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

#154 Post by trio »

aaah found out why ....


the problem is the title, it contains "/" ..
"Spliced! Sugar Low / 27th Annual Blargey Parble"

will try to deal with it, when I have time

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

#155 Post by trio »

Version 2.1.3 - Fixes if there's "/" in title, 2 versions available, for general puppies and for lupu520/wary (with urxvt embed option) - thanks Makoto

see main post

Post Reply