Notices


Reply
Thread Tools
Posts: 151 | Thanked: 82 times | Joined on Sep 2008
#171
Originally Posted by brontide View Post
Actually, it does!
that's strange ... cos it only downloads/plays videos when there's a high quality version

below is the line I modified....(appending &fmt=6)

const_video_url_real_str = 'http://www.youtube.com/get_video?video_id=%s&t=%s&fmt=6'
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#172
Originally Posted by fixfox View Post
that's strange ... cos it only downloads/plays videos when there's a high quality version

below is the line I modified....(appending &fmt=6)

const_video_url_real_str = 'http://www.youtube.com/get_video?video_id=%s&t=%s&fmt=6'
No, remove that fmt=6 and add it to the watch url. If you scroll back you will see I struck that line and added the right one. I had that problem too at first.

Last edited by brontide; 2008-09-07 at 04:27.
 
Posts: 151 | Thanked: 82 times | Joined on Sep 2008
#173
Originally Posted by brontide View Post
No, remove that fmt=6 and add it to the watch url. If you scroll back you will see I struck that line and added the right one. I had that problem too at first.
I now have it like this.....

const_video_url_str = 'http://www.youtube.com/watch?v=%s&fmt=6'
const_video_url_real_str = 'http://www.youtube.com/get_video?video_id=%s&t=%s'


and I don't get the HQ version to play... only standard.
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#174
Originally Posted by fixfox View Post
I now have it like this.....

const_video_url_str = 'http://www.youtube.com/watch?v=%s&fmt=6'
const_video_url_real_str = 'http://www.youtube.com/get_video?video_id=%s&t=%s'


and I don't get the HQ version to play... only standard.
If you have already watched the video once at standard, you will have to delete the existing copy in "saved" and replay/download the video again. That should solve it ( in theory ).
 
Posts: 151 | Thanked: 82 times | Joined on Sep 2008
#175
Originally Posted by brontide View Post
If you have already watched the video once at standard, you will have to delete the existing copy in "saved" and replay/download the video again. That should solve it ( in theory ).
I always delete the videos after making changes to "youtube-dl-x" to ensure a fresh copy is downloaded when checking the effect of changes made.

I don't get the HQ version with the below line...
const_video_url_str = 'http://www.youtube.com/watch?v=%s&fmt=6'

I only get it with this mod ....
const_video_url_real_str = 'http://www.youtube.com/get_video?video_id=%s&t=%s&fmt=6'

and in that case, no video at all if HQ version does not exist.

Last edited by fixfox; 2008-09-07 at 21:46.
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#176
Do you have a specific video ( name / video id ) in mind?
 
Posts: 151 | Thanked: 82 times | Joined on Sep 2008
#177
Originally Posted by brontide View Post
Do you have a specific video ( name / video id ) in mind?
yes...

http://www.youtube.com/watch?v=Hr0Wv5DJhuk
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#178
Somehow my good crack must have been switched yesterday. I've got a new youtube-dl-x that tries for HQ and falls back to standard. The stock youtube-dl.py does not handle this either, but once I made the video download into a function it was easy to sense the exception and retry without the high quality. I'll post a link to download just the youtube-dl-x momentary.
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#179
http://www.rit.albany.edu/~ew2193/youtube-dl-x

In the preferences dialog you will need to add the option "-x" for HQ preference to the youtube-dl tab.
 

The Following 6 Users Say Thank You to brontide For This Useful Post:
Posts: 151 | Thanked: 82 times | Joined on Sep 2008
#180
Originally Posted by brontide View Post
http://www.rit.albany.edu/~ew2193/youtube-dl-x

In the preferences dialog you will need to add the option "-x" for HQ preference to the youtube-dl tab.
Thanks Brontide ....... Works wonderfully !
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:38.