Browse Source

do not capture a group

totalwebcasting
remitamine 10 years ago
parent
commit
1186e3f91a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/howstuffworks.py

+ 1
- 1
youtube_dl/extractor/howstuffworks.py View File

@ -10,7 +10,7 @@ from ..utils import (
class HowStuffWorksIE(InfoExtractor): class HowStuffWorksIE(InfoExtractor):
_VALID_URL = r'https?://[\da-z-]+\.howstuffworks\.com/(?:[^/]+/)*(\d+-)*(?P<id>.+?)-video\.htm'
_VALID_URL = r'https?://[\da-z-]+\.howstuffworks\.com/(?:[^/]+/)*(?:\d+-)?(?P<id>.+?)-video\.htm'
_TESTS = [ _TESTS = [
{ {
'url': 'http://adventure.howstuffworks.com/5266-cool-jobs-iditarod-musher-video.htm', 'url': 'http://adventure.howstuffworks.com/5266-cool-jobs-iditarod-musher-video.htm',


Loading…
Cancel
Save