wordpress-xmlrpc: use video.google.com instead of .es
This commit is contained in:
parent
199ad57615
commit
0dee43b2a0
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ def html_media_object(service, media_id):
|
||||||
|
|
||||||
def analyze_media(content):
|
def analyze_media(content):
|
||||||
p_youtube = re.compile(r"\[youtube=http://www\.youtube\.com/watch\?v=(.+)\]")
|
p_youtube = re.compile(r"\[youtube=http://www\.youtube\.com/watch\?v=(.+)\]")
|
||||||
p_googlevideo = re.compile(r"\[googlevideo=http://video\.google\.es/videoplay\?docid=(.+)\]")
|
p_googlevideo = re.compile(r"\[googlevideo=http://video\.google\.com/videoplay\?docid=(.+)\]")
|
||||||
lines = content.split("\n")
|
lines = content.split("\n")
|
||||||
new_lines = []
|
new_lines = []
|
||||||
for line in lines:
|
for line in lines:
|
||||||
|
|
Loading…
Reference in a new issue