ALT Linux Bugzilla
– Attachment 2650 Details for
Bug 15823
patch to vpodcast.py that fix youtube access
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
vpodcast.py
freevo-1.7.5-alt-vpodcast.patch (text/plain), 741 bytes, created by
Marat Khayrullin
on 2008-05-29 00:52:39 MSD
(
hide
)
Description:
vpodcast.py
Filename:
MIME Type:
Creator:
Marat Khayrullin
Created:
2008-05-29 00:52:39 MSD
Size:
741 bytes
patch
obsolete
>--- freevo-1.7.5/src/video/plugins/vpodcast.py~ 2007-11-11 21:01:39 +0300 >+++ freevo-1.7.5/src/video/plugins/vpodcast.py 2008-05-16 14:52:52 +0400 >@@ -140,7 +140,7 @@ > def youtube(self, url): > const_video_url_str = 'http://www.youtube.com/watch?v=%s' > const_video_url_re = re.compile(r'^((?:http://)?(?:\w+\.)?youtube\.com/(?:v/|(?:watch(?:\.php)?)?\?(?:.+&)?v=))?([0-9A-Za-z_-]+)(?(1)[&/].*)?$') >- const_url_t_param_re = re.compile(r'[,{]t:\'([^\']*)\'') >+ const_url_t_param_re = re.compile(r'"t": "([^"]*)"') > const_video_url_real_str = 'http://www.youtube.com/get_video?video_id=%s&t=%s' > const_video_title_re = re.compile(r'<title>YouTube - ([^<]*)</title>', re.M | re.I) > try: >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15823
: 2650