Page 9 of 13

Re: -

Posted: Thu 31 Mar 2011, 03:23
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

Posted: Thu 31 Mar 2011, 11:42
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

Posted: Sat 02 Apr 2011, 13:40
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

Posted: Sat 02 Apr 2011, 13:50
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.

Posted: Sat 02 Apr 2011, 16:22
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...

Posted: Sat 02 Apr 2011, 20:20
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...

Posted: Sat 02 Apr 2011, 20:43
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.

Posted: Wed 06 Apr 2011, 02:30
by trio
Updated to version 2.1.4 - see main post

IT IS WORKING AGAIN! APRIL 2011

Thanks to Mr. Arif Suparlan and Dougal!

Posted: Thu 21 Apr 2011, 03:56
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?

Posted: Fri 22 Apr 2011, 18:28
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.

Posted: Sun 24 Apr 2011, 14:36
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.

Posted: Mon 25 Apr 2011, 16:35
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).

Posted: Mon 25 Apr 2011, 17:46
by nooby
Another thing. They have converted some 30% of all videos to a new format so that could explain things maybe?

you2pup with movgrab

Posted: Thu 08 Dec 2011, 18:02
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!

Re: you2pup with movgrab

Posted: Thu 08 Dec 2011, 20:44
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 :)

Posted: Fri 09 Dec 2011, 16:57
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!

Posted: Fri 09 Dec 2011, 19:05
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.

YouTube multi format video downloader

Posted: Mon 12 Dec 2011, 16:30
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.

You2pup-2.2.0 - YouTube multi format video downloader

Posted: Fri 16 Dec 2011, 19:18
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.

Movgrab problems?

Posted: Mon 19 Dec 2011, 17:47
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