parent
a8b1c5ed5b
commit
3c6348d7ad
3 changed files with 1 additions and 66 deletions
|
|
@ -29,10 +29,10 @@ class IndexPage(BasePage):
|
|||
|
||||
class NewspaperFigaroBrowser(BaseBrowser):
|
||||
"NewspaperFigaroBrowser class"
|
||||
ENCODING = None
|
||||
PAGES = {
|
||||
"http://\w+.lefigaro.fr/flash-.*/(\d{4})/(\d{2})/(\d{2})/(.*$)": FlashActuPage,
|
||||
"http://\w+.lefigaro.fr/bd/(\d{4})/(\d{2})/(\d{2})/(.*$)": FlashActuPage,
|
||||
"http://\w+.lefigaro.fr/actualite/(\d{4})/(\d{2})/(\d{2})/(.*$)": SpecialPage,
|
||||
"http://\w+.lefigaro.fr/(?!flash-|bd|actualite).+/(\d{4})/(\d{2})/(\d{2})/(.*$)": ArticlePage,
|
||||
"http://\w+.lefigaro.fr/actualite-.*/(\d{4})/(\d{2})/(\d{2})/(.*$)": ArticlePage,
|
||||
"http://\w+.lefigaro.fr/": IndexPage,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue