File: test_ssh101.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 (17 lines) | stat: -rw-r--r-- 508 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from streamlink.plugins.ssh101 import SSH101
from tests.plugins import PluginCanHandleUrl


class TestPluginCanHandleUrlSSH101(PluginCanHandleUrl):
    __plugin__ = SSH101

    should_match = [
        "http://ssh101.com/live/sarggg",
        "https://ssh101.com/detail.php?id=user",
        "https://www.ssh101.com/live/aigaiotvlive",
        "https://www.ssh101.com/securelive/index.php?id=aigaiotvlive",
    ]

    should_not_match = [
        "https://ssh101.com/m3u8/dyn/aigaiotvlive/index.m3u8",
    ]