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
Youtube: Simplify regex for scraping
[videosite.git]
/
videosite
/
JSJSONArrayParser.pm
diff --git
a/videosite/JSJSONArrayParser.pm
b/videosite/JSJSONArrayParser.pm
index
5960ee1
..
82c67f3
100644
(file)
--- a/
videosite/JSJSONArrayParser.pm
+++ b/
videosite/JSJSONArrayParser.pm
@@
-25,7
+25,7
@@
sub parse {
my $s = shift;
my $j = JSON->new();
- return $j->loose->allow_barekey()->decode($s);
+ return $j->loose->allow_barekey()->
allow_singlequote()->
decode($s);
}
1;