mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 02:14:32 +01:00
[Panopto] Preferring static over instance methods
This commit is contained in:
parent
cbb1753395
commit
bd7d8149d7
@ -33,7 +33,8 @@ class PanoptoIE(PanoptoBaseIE):
|
|||||||
|
|
||||||
_VALID_URL = r'^https?:\/\/(?P<org>[a-z0-9]+)\.hosted\.panopto.com\/Panopto\/Pages\/Viewer\.aspx\?id=(?P<id>[a-f0-9-]+)'
|
_VALID_URL = r'^https?:\/\/(?P<org>[a-z0-9]+)\.hosted\.panopto.com\/Panopto\/Pages\/Viewer\.aspx\?id=(?P<id>[a-f0-9-]+)'
|
||||||
|
|
||||||
def _get_contribs_str(self, contribs):
|
@staticmethod
|
||||||
|
def _get_contribs_str(contribs):
|
||||||
s = ''
|
s = ''
|
||||||
for c in contribs:
|
for c in contribs:
|
||||||
s += '%s, ' % c['DisplayName']
|
s += '%s, ' % c['DisplayName']
|
||||||
|
Loading…
Reference in New Issue
Block a user