1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-30 04:08:01 +01:00

Fix coding conventionsand remove test files

This commit is contained in:
Reinhart Previano Koentjoro 2020-03-26 17:54:17 +07:00
parent 6549db78f2
commit bdb1e0c906

View File

@ -9,6 +9,7 @@ from .common import InfoExtractor
# This script only uses URLs from the BINUS TV Android app share API (https://binus.bedigital.co.id/app/share/video/). # This script only uses URLs from the BINUS TV Android app share API (https://binus.bedigital.co.id/app/share/video/).
# Videos from the main BINUS TV website (https://www.binus.tv/video/) can still be extracted using generic extractor. # Videos from the main BINUS TV website (https://www.binus.tv/video/) can still be extracted using generic extractor.
class BinusTVAppIE(InfoExtractor): class BinusTVAppIE(InfoExtractor):
_VALID_URL = r'(?:https?://)?(?:www\.)?binus\.bedigital\.co\.id/app/share/video/[^\/]+/[^\/]+/(?P<id>[^/?\0]+)' _VALID_URL = r'(?:https?://)?(?:www\.)?binus\.bedigital\.co\.id/app/share/video/[^\/]+/[^\/]+/(?P<id>[^/?\0]+)'
_TEST = { _TEST = {