only use the numerical ID

This commit is contained in:
Romain Bignon 2011-05-07 09:24:28 +02:00
commit 6158ba3faa

View file

@ -34,7 +34,7 @@ class YoupornBrowser(BaseBrowser):
ENCODING = None
PAGES = {r'http://[w\.]*youporn\.com/?': IndexPage,
r'http://[w\.]*youporn\.com/search.*': IndexPage,
r'http://[w\.]*youporn\.com/watch/(?P<id>.+)': VideoPage,
r'http://[w\.]*youporn\.com/watch/(?P<id>\d+)/?.*': VideoPage,
r'http://[w\.]*youporngay\.com:80/watch/(?P<id>.+)': VideoPage,
}