? may or may not be in the url

example:
http://www.kickstarter.com/projects/1905540412/little-free-library-abbot
sford-british-columbia?ref=home_spotlight
This commit is contained in:
Johny Mo Swag 2013-09-11 15:25:20 -07:00
parent f1d20fa39f
commit df1d9bfa1b

View File

@ -4,7 +4,7 @@ from .common import InfoExtractor
class KickStarterIE(InfoExtractor): class KickStarterIE(InfoExtractor):
_VALID_URL = r'https?://www\.kickstarter\.com/projects/(?P<id>.*)/.*\?' _VALID_URL = r'https?://www\.kickstarter\.com/projects/(?P<id>.*)/.*\??'
_TEST = { _TEST = {
"url": "https://www.kickstarter.com/projects/1404461844/intersection-the-story-of-josh-grant?ref=home_location", "url": "https://www.kickstarter.com/projects/1404461844/intersection-the-story-of-josh-grant?ref=home_location",
"file": "1404461844.mp4", "file": "1404461844.mp4",