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

pull/2646/head
Sergey M․ 2014-03-27 19:08:02 +07:00
parent 0dae5083f1
commit 8cdafb47b9
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ from ..utils import (
class MooshareIE(InfoExtractor):
IE_NAME = 'mooshare'
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 = [
{