fix parsing of URLs

This commit is contained in:
Romain Bignon 2012-01-31 18:08:09 +01:00
commit ce91c52912
3 changed files with 6 additions and 4 deletions

View file

@ -31,7 +31,7 @@ __all__ = ['InaBrowser']
class InaBrowser(BaseBrowser):
DOMAIN = 'ina.fr'
PAGES = {'http://boutique\.ina\.fr/video/.+\.html': BoutiqueVideoPage,
PAGES = {'http://boutique\.ina\.fr/(video|audio)/.+\.html': BoutiqueVideoPage,
'http://www\.ina\.fr/.+\.html': VideoPage,
'http://boutique\.ina\.fr/recherche/.+': SearchPage,
}