git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f92c669
)
- Fix video title
author
Ralf Ertzinger
<sun@ryoko.camperquake.de>
Thu, 17 Apr 2008 16:19:51 +0000
(18:19 +0200)
committer
Ralf Ertzinger
<sun@ryoko.camperquake.de>
Thu, 17 Apr 2008 16:19:51 +0000
(18:19 +0200)
videosite/GoogleGrabber.pm
patch
|
blob
|
history
diff --git
a/videosite/GoogleGrabber.pm
b/videosite/GoogleGrabber.pm
index
ad4ace3
..
5bfc61f
100644
(file)
--- a/
videosite/GoogleGrabber.pm
+++ b/
videosite/GoogleGrabber.pm
@@
-56,7
+56,7
@@
sub _parse {
# Look for the title
if ($p->get_tag('title')) {
$metadata->{'TITLE'} = $p->get_text();
- $metadata->{'TITLE'} =~ s/
- Google Video$//
;
+ $metadata->{'TITLE'} =~ s/
\s?- Google Video$//s
;
}
while ($e = $p->get_tag('a')) {