git://git.camperquake.de
/
videosite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Dailymotion grabber
[videosite.git]
/
videosite
/
YouTubeGrabber.pm
diff --git
a/videosite/YouTubeGrabber.pm
b/videosite/YouTubeGrabber.pm
index
e611a1f
..
10b1c2e
100644
(file)
--- a/
videosite/YouTubeGrabber.pm
+++ b/
videosite/YouTubeGrabber.pm
@@
-246,7
+246,7
@@
sub _parse_by_scrape {
$e = $p->get_text();
$self->debug("Found script: %s", $e);
- if ($e =~ m|
\x27PLAYER_CONFIG\x27:\s+(.+)(?:\}\);)?
|) {
+ if ($e =~ m|
ytplayer\.config\s*=\s*(.+);$
|) {
my $args = $1;
$self->debug("Found PLAYER_CONFIG: %s", $args);