0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

[mooshare] Add support for URLs starting with 'www'

This commit is contained in:
Sergey M․ 2014-03-27 19:08:02 +07:00
parent 0dae5083f1
commit 8cdafb47b9

View file

@ -14,7 +14,7 @@
class MooshareIE(InfoExtractor): class MooshareIE(InfoExtractor):
IE_NAME = 'mooshare' IE_NAME = 'mooshare'
IE_DESC = 'Mooshare.biz' IE_DESC = 'Mooshare.biz'
_VALID_URL = r'http://mooshare\.biz/(?P<id>[\da-z]{12})' _VALID_URL = r'http://(?:www\.)?mooshare\.biz/(?P<id>[\da-z]{12})'
_TESTS = [ _TESTS = [
{ {