File: test_telemadrid.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 (12 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
from streamlink.plugins.telemadrid import Telemadrid
from tests.plugins import PluginCanHandleUrl


class TestPluginCanHandleUrlTelemadrid(PluginCanHandleUrl):
    __plugin__ = Telemadrid

    should_match = [
        "https://www.telemadrid.es/",
        "https://www.telemadrid.es/emision-en-directo/",
        "https://www.telemadrid.es/programas/telenoticias-1/Telenoticias-1-02032023-2-2538066218--20230302042202.html",
    ]