]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/eighttracks.py
Merge tag 'upstream/2014.02.17'
[youtubedl] / youtube_dl / extractor / eighttracks.py
index 2cfbcd363c0db4f2505d8da7120d7c3161a7b0a9..88f5526b8a59491cc6cd40b48fe9451b3fc2d12b 100644 (file)
@@ -1,4 +1,3 @@
-import itertools
 import json
 import random
 import re
 import json
 import random
 import re
@@ -11,7 +10,7 @@ from ..utils import (
 
 class EightTracksIE(InfoExtractor):
     IE_NAME = '8tracks'
 
 class EightTracksIE(InfoExtractor):
     IE_NAME = '8tracks'
-    _VALID_URL = r'https?://8tracks.com/(?P<user>[^/]+)/(?P<id>[^/#]+)(?:#.*)?$'
+    _VALID_URL = r'https?://8tracks\.com/(?P<user>[^/]+)/(?P<id>[^/#]+)(?:#.*)?$'
     _TEST = {
         u"name": u"EightTracks",
         u"url": u"http://8tracks.com/ytdl/youtube-dl-test-tracks-a",
     _TEST = {
         u"name": u"EightTracks",
         u"url": u"http://8tracks.com/ytdl/youtube-dl-test-tracks-a",