]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
_find_jwplayer_data() returns dict or None
authorRandom User <rndusr@posteo.de>
Sat, 25 Mar 2017 18:38:30 +0000 (19:38 +0100)
committerRandom User <rndusr@posteo.de>
Sat, 25 Mar 2017 18:38:30 +0000 (19:38 +0100)
This simplifies code for callers of `_find_jwplayer_data()` which no longer have
to run `_parse_json()` on the return value.

It also makes sure that `_find_jwplayer_data()` returns either a `dict` or
`None` and nothing else.


No differences found