1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-14 13:25:38 +00: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 = {