_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)
commitc73e330e7adc9c0c15ac51aeea8fbb7dad95351a
treef2b5d00d905bbea3c738831aa49efb9370bc8469
parent03486dbb0133e42074c272f60e24f18c856fdf0d
_find_jwplayer_data() returns dict or None

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.
youtube_dl/extractor/common.py
youtube_dl/extractor/generic.py
youtube_dl/extractor/tvnoe.py