diff --git a/youtube_dl/extractor/panopto.py b/youtube_dl/extractor/panopto.py index 56d65805f..0165f292c 100644 --- a/youtube_dl/extractor/panopto.py +++ b/youtube_dl/extractor/panopto.py @@ -17,6 +17,7 @@ import json class PanoptoBaseIE(InfoExtractor): + """The base class with common methods for Panopto extractors.""" @classmethod def _match_organization(cls, url): @@ -28,6 +29,7 @@ class PanoptoBaseIE(InfoExtractor): class PanoptoIE(PanoptoBaseIE): + """Extracts a single Panopto video including all available streams.""" _VALID_URL = r'^https?:\/\/(?P[a-z0-9]+)\.hosted\.panopto.com\/Panopto\/Pages\/Viewer\.aspx\?id=(?P[a-f0-9-]+)' @@ -130,6 +132,8 @@ class PanoptoIE(PanoptoBaseIE): class PanoptoFolderIE(PanoptoBaseIE): + """Recursively extracts a folder of Panopto videos, digging as far as possible into subfolders.""" + _VALID_URL = r'^https?:\/\/(?P[a-z0-9]+)\.hosted\.panopto.com\/Panopto\/Pages\/Sessions\/List\.aspx#folderID=(?:"|%22)(?P[a-f0-9-]+)' def _real_extract(self, url):