logmanoriginal 4f6277b6b5 [YoutubeBridge] Fix parsing author name breaks the bridge
The author name is parsed by searching a string within the entire
HTML document:

$author = $html->innertext;
$author = substr($author, strpos($author, '"author=') + 8);
$author = substr($author, 0, strpos($author, '\u0026'));

This solution will return big portions of the HTML document if
the strpos function returns zero (not found).

This commit replaces the previous implementation by searching for
a specific script tag and making use of the JSON data inside it.

References #580
2018-02-16 22:31:29 +01:00
..
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-04-23 19:19:50 -05:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-10-11 10:03:29 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2018-02-13 21:46:33 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2018-01-11 11:44:51 +00:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00
2017-07-17 15:45:58 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00
2017-10-08 19:21:10 +02:00
2017-07-29 19:55:12 +02:00
2018-01-30 16:57:07 +00:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00