File: test_reuters.py

package info (click to toggle)
streamlink 8.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,564 kB
  • sloc: python: 51,188; sh: 184; makefile: 152
file content (15 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from streamlink.plugins.reuters import Reuters
from tests.plugins import PluginCanHandleUrl


class TestPluginCanHandleUrlReuters(PluginCanHandleUrl):
    __plugin__ = Reuters

    should_match = [
        "https://uk.reuters.com/video/watch/east-africa-battles-locust-invasion-idOVC2J9BHJ?chan=92jv7sln",
        "https://www.reuters.com/livevideo?id=Pdeb",
        "https://www.reuters.com/video/watch/baby-yoda-toy-makes-its-big-debut-idOVC1KAO9Z?chan=8adtq7aq",
        "https://www.reuters.tv/l/PFJx/2019/04/19/way-of-the-cross-ritual-around-notre-dame-cathedral",
        "https://www.reuters.tv/l/PFcO/2019/04/10/first-ever-black-hole-image-released-astrophysics-milestone",
        "https://www.reuters.tv/p/WoRwM1a00y8",
    ]