You2pup works (June 2016) YouTube downloader

Browsers, email, chat, etc.
Message
Author
User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

Re: -

#166 Post by trio »

yosi666 wrote:I've tried many (10 videos)
Try this one,
http://www.youtube.com/watch?v=6AvcuNf39co
Again, the trouble is the title "Puppy Linux Wary 5......Old Hardware Heaven..." there are many "." (dot)

I will change the way you2pup saves the new file, first asking whether you want to save it with a new file name, while explaining that if download fails, you should try to create a new file name

not now, i don't have time

Thanks

yosi666
Posts: 111
Joined: Tue 13 May 2008, 14:41

#167 Post by yosi666 »

Thanks for ur time Trio. :D
Don't worry, not big deal. I'm downloading through a web page.
I tried to name the file without spaces also but happened the same

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

#168 Post by trio »

After looking deeper, I can confirm that youtube has again change the how the download url be found. THIS APP STOPPED WORKING AGAIN END OF MARCH 2011

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

#169 Post by nooby »

They most likely don't want us to be able to do so if I now tell of a manual way to do it using Snow pup 5 then they read this in our forum and look into it and stop that one from working too.

So I keep my mouth shut on that one. Send me a PM if you are desperate to know how to do it manually.
I use Google Search on Puppy Forum
not an ideal solution though

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

#170 Post by sc0ttman »

trio wrote:After looking deeper, I can confirm that youtube has again change the how the download url be found. THIS APP STOPPED WORKING AGAIN END OF MARCH 2011
Shame.. This is a great tool... I have an addon for firefox which I have not updated at all in about a year or more.. And it still works... I wonder how?? EDIT: unless of course it sends the youtube URL off to a script on a server which is constantly updated...
[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
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#171 Post by Dougal »

Sheesh. Every few months they change their format and I need to update my script.
This shows when things changed.
This script seems to have been updated, and the changelog mentions that youtube started using unicode values for ampersands... I think this is can be solved by inserting

Code: Select all

sed 's|&|&|g'
into the pipeline...
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
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#172 Post by Dougal »

I just had a look at a new youtube html file and I see a lot of "\u0026", which is unicode for something... I presume ampersand. So it will probably be something like

Code: Select all

sed 's|\u0026|&|g'
Edit: I just checked and for some reason the sed command won't do anything unless you escape the & -- but then it gives you "\&" in the output!
Personally, I delete all backslashes in my script (tr -d '\\'), so it doesn't matter and

Code: Select all

sed 's|\u0026|\&|g'
fixed it.
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
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#173 Post by trio »

Updated to version 2.1.4 - see main post

IT IS WORKING AGAIN! APRIL 2011

Thanks to Mr. Arif Suparlan and Dougal!

User avatar
kent41
Posts: 242
Joined: Sun 26 Nov 2006, 09:00

#174 Post by kent41 »

hi
About a week or so ago I used the new you2pup and it worked ok. I tried today to download a file and it looks like you2pup is broke again.

I use puppy 4.3.1 and the you2pup ver. for general puppies.

Has anyone tried to use the new you2pup and had it work ok in the last few days?
[size=75][color=darkred]Toshiba M35X S-111 - Aspire 5100-3357 using puppy 2.12 - 2.13 - 2.14 - 4.3.1 -
Bootable CD and no hard drive[/color][/size]
Acer Aspire 1 netbook using thumbdrive or CD

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

#175 Post by Dougal »

kent41 wrote:Has anyone tried to use the new you2pup and had it work ok in the last few days?
I just tried my script and it worked, so youtube haven't changed anything... it must be a bug in you2pup.
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
kent41
Posts: 242
Joined: Sun 26 Nov 2006, 09:00

#176 Post by kent41 »

I forgot to say which ver. of you2pup I downloaded. It was you2pup-2.1.4.pet the general version .

I download ver. 2.1.4 today and run it with no success.

What happens is it tries to download the youtube video but then it stops and then goes away.
[size=75][color=darkred]Toshiba M35X S-111 - Aspire 5100-3357 using puppy 2.12 - 2.13 - 2.14 - 4.3.1 -
Bootable CD and no hard drive[/color][/size]
Acer Aspire 1 netbook using thumbdrive or CD

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

#177 Post by Dougal »

I just tried 2.1.4 with a random video and it worked... it might be something about the video you're trying to download (maybe some character in the name is causing problems).
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

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

#178 Post by nooby »

Another thing. They have converted some 30% of all videos to a new format so that could explain things maybe?
I use Google Search on Puppy Forum
not an ideal solution though

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

you2pup with movgrab

#179 Post by soliver »

Hello there,

made a new version with movgrab as downloader. For me the old you2pup wont work. Feel free to test my verison and please leave a post.

Movgrab is included (compiled in clean puppy 4.1.2 with ssl support, version 1.1.4). You can download an other version here: http://www.murga-linux.com/puppy/viewto ... 5bd407bfc1

Needs gtkdialog 3. I am using the "real" gxmessage, looks much better.
Think version number has to be changed :oops:
Not a .pet => please test it!

Thank you and have a good time!
Attachments
you2pup-2.0-eng-deu.tar.bz2
english-german version
(68.61 KiB) Downloaded 541 times
you2pup-2.0-eng.tar.bz2
english version of you2pup
(67.17 KiB) Downloaded 596 times
you2pup_snap.png
(13.38 KiB) Downloaded 1204 times

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

Re: you2pup with movgrab

#180 Post by sc0ttman »

soliver wrote:Feel free to test my version and please leave a post.
Firstly I want to say, long story short, thanks for this - it works for many videos, with a bit of trial and error when choosing 'Quality' - this is not so complicated, so I am happy! :D

Now, with the details:

I just tested with this video... and this one..
and this one: http://www.youtube.com/watch?v=IvlFoQTse8s (great fight!)

I tried many times to select different formats, the same format was downloaded each time - flv-h264:640x360...
This was true for both videos 1 and 2..
The 3rd video would not download - only a .webm text file...

The 1st video only downloaded when I chose the 'flv' Quality option..
But the 2nd video only worked with the 'flv-h264:640x360' option..
_________

And, even once I got the 'Quality' choice correct, I always had to click 'Download' twice for it to work -
The 1st time the console appears then disappears immediately...
The 2nd time the console appears and starts downloading fine (screenshot1)

to avoid the 2 click Downloads, I suggest to build in a check to see if the video is downloading, and re-try if it is not..

Also, maybe to make the 'Quality' selection easier you could add an 'auto' or 'detect' option?

But, as I said first, it works for many videos already :)
[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]

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

#181 Post by soliver »

Thanks sc0ttman for your reply!

Have you tried a testmode? The first 2 vids can be downloaded with these formats:
http://www.youtube.com/get_video_info?& ... =US&hl=enB

Formats available for this Movie: webm:640x360 flv-h264:640x360 mp4:480x360 flv:400x240

mp4 ... YES! mp4:480x360
flv ... YES! flv-h264:640x360 flv:400x240
webm ... YES! webm:640x360
mov ... no
mpg ... no
mpeg ... no
wmv ... no
avi ... no
3gp ... no
reference ... no
mp3 ... no
m4a ... no
wma ... no
The 3rd one is as a screenshot below.
As you can see it works for me. It's a prob with movegrab. Sometimes it hangs a little bit. When I open a new webpage with my browser the download or the testload will start. I can change the quality settings without clicking the download button twice. My girlfriend is using it most of the time and mentioned no problems with that. Could it be that you are using another gtkdialog? This is the one that I'm using: gtkdialog version 0.7.20 (C)
I'm not good enough to build a check to see if the video is downloading. I will try but I'm an absolut beginner in making bash scripts. I learn from other scripts and then try to understand how it works :oops: . But I will do my very best :roll:

Thanks for your answer again. I'll work on it!
Attachments
testload.png
(3.03 KiB) Downloaded 2741 times

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

#182 Post by Dougal »

soliver wrote:Sometimes it hangs a little bit. When I open a new webpage with my browser the download or the testload will start.
I've been having a lot of that in the last few weeks with the browser itself, where loading a page will stall and I need to refresh it (or another page)... I think it might be DNS problems, but another thing you might want to try is, if you're using wireless, fix the bit rate to some value (e.g. "iwconfig wlan0 rate 6M"), because the "auto" mode can be pretty crap...

Anyway, what I really wanted to say is that you might want to try and set your browser to use your script as the default handler for videos... I did that with MMS streams and a wrapper around mmsrip (about:config --> network.protocol-handler.app.mms). It might be as simple as going to Edit->Preferences->Helper Applications and setting the video/x-flv or whatever.
That way all you need to do is click on the link in the browser and it will run your script.
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

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

YouTube multi format video downloader

#183 Post by soliver »

Hello there!

Made a lot of changes and hope it works now. Some problems couldn't be solved because of movgrag. The you2pup should work now. Please TEST and leave a comment.

Thanks and have a good time

PS: movgrab is not included. If you need it, download the old version please.
Attachments
you2pup-2-eng.tar.bz2
Testversion without movgrab
(9.44 KiB) Downloaded 715 times

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

You2pup-2.2.0 - YouTube multi format video downloader

#184 Post by soliver »

Hello there again

Finally my you2pup version is ready and I hope it will work for you and you have fun with it.
Changes to the latest you2pup version 2.1.4:

-using movgrab for downloading (vers. 1.1.5 incl.)
-using xdialog
-quality is back
-language support (german incl.)

Sounds not much...hmm...but was hard work for me :wink:

Sometimes it hangs with the internet connection and then movgrab gives no feedback, so please first run the "TESTMODE". There you can also see the available formats for your site. You can also send a "ping" to any other side, that helped most of the time. Almost any site I have tried worked for me. Movgrab is compiled in a clean puppy 4.1.2 (the verison I'm still using):
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu --enable-ssl

So please TEST and hopefully it'll work for you!

PS: Still working on it and hope to give you some more features and to make much more comfortable.
Attachments
you2pup-2.2.0.pet
(76.53 KiB) Downloaded 864 times
you2pup_snap_2.png
(10.9 KiB) Downloaded 3006 times
you2pup_snap.png
(13.68 KiB) Downloaded 6262 times

ColumPaget
Posts: 2
Joined: Mon 19 Dec 2011, 17:44

Movgrab problems?

#185 Post by ColumPaget »

Hiya,

delighted to see that you're using movgrab to drive you2pup.

I see you're having some problems though, have you got any more description of them? Does movgrab sometimes hang, or does it sometimes exit straight away?

Colum

Post Reply