From 5de9dbd09b42b42f5703111821b167cdcce9324d Mon Sep 17 00:00:00 2001 From: Florent Date: Thu, 23 May 2013 16:43:12 +0200 Subject: [PATCH] Arte supports english too --- modules/arte/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/arte/pages.py b/modules/arte/pages.py index 08535298..fb58a04d 100644 --- a/modules/arte/pages.py +++ b/modules/arte/pages.py @@ -38,7 +38,7 @@ class IndexPage(BasePage): videos = self.document.getroot().cssselect("div[class=video]") for div in videos: title = div.find('h2').find('a').text - m = re.match(r'/(fr|de)/videos/(.*)\.html', div.find('h2').find('a').attrib['href']) + m = re.match(r'/(fr|de|en)/videos/(.*)\.html', div.find('h2').find('a').attrib['href']) _id = '' if m: _id = m.group(2)