File: test_okru.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-- 489 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from streamlink.plugins.okru import OKru
from tests.plugins import PluginCanHandleUrl


class TestPluginCanHandleUrlOKru(PluginCanHandleUrl):
    __plugin__ = OKru

    should_match = [
        ("default", "https://ok.ru/live/ID"),
        ("default", "https://ok.ru/video/ID"),
        ("default", "https://ok.ru/videoembed/ID"),
        ("default", "https://www.ok.ru/video/ID"),
        ("mobile", "https://m.ok.ru/video/ID"),
        ("mobile", "https://mobile.ok.ru/video/ID"),
    ]