[nuevo] Generalize nuevo extractor and add support for trollvids
authorAndrew "Akari" Alexeyew <akari@dbc.1gb.ua>
Wed, 2 Dec 2015 04:00:47 +0000 (06:00 +0200)
committerSergey M․ <dstftw@gmail.com>
Fri, 22 Jan 2016 17:29:24 +0000 (23:29 +0600)
commitd570746e45cff3c0f89654bf748e44a5da75a924
tree2100d351de4a4e310f7a9a454894369cd2a41de7
parent4fcd9d147df9b06d954b8f8a1749b50609529ed4
[nuevo] Generalize nuevo extractor and add support for trollvids

Supports only the nuevo player for now (most common).

[trollvids] convert duration to an int

[trollvids] added a test

[trollvids] made flake8 shut up

Generalized the Nuevo extractor

Affects: anitube, trollvids, trutube

[nuevo] Complied with the code comments.
youtube_dl/extractor/__init__.py
youtube_dl/extractor/anitube.py
youtube_dl/extractor/nuevo.py [new file with mode: 0644]
youtube_dl/extractor/trollvids.py [new file with mode: 0644]
youtube_dl/extractor/trutube.py