4 Commits

Author SHA1 Message Date
Leonardo Taccari
b3b271a0b1 [internazionale] Avoid bool(int(...)) casting and code duplication
(Hopefully) based on what @dstftw suggested.
It is better to avoid bool(int(...)) because it is fragile.
Avoid code duplication in video_base initialization.
2018-08-30 21:08:30 +02:00
Leonardo Taccari
839d9a85c0 [internazionale] Fix extraction of non-available-abroad videos
Some videos can have a `data-video-available_abroad' attribute that
can be "0" or "1" depending if the video is available abroad (if
not present it is available abroad).

For not available abroad videos (all the ones with
data-video-available_abroad="1") video-ita.internazionale.it is
used instead of video.internazionale.it.

Adjust Internazionale extractor to reflect that and add a test for
a not available abroad video.
2018-08-30 20:12:32 +02:00
Sergey M․
640788f6f4
[internazionale] Improve extraction (closes #14973) 2017-12-27 23:27:48 +07:00
Leonardo Taccari
1ae0f0a21d
[internazionale] Add extractor 2017-12-27 23:27:43 +07:00