Fix bug module francetelevisions : remove "latest" feature
"Latest videos" page no longer on new website.
This commit is contained in:
parent
c5095312c8
commit
026f3fb712
3 changed files with 1 additions and 30 deletions
|
|
@ -30,7 +30,6 @@ class PluzzBrowser(PagesBrowser):
|
|||
BASEURL = 'http://pluzz.francetv.fr'
|
||||
|
||||
index_page = URL(r'recherche\?recherche=(?P<pattern>.*)', IndexPage)
|
||||
latest_page = URL(r'lesplusrecents', IndexPage)
|
||||
video_page = URL(r'http://webservices.francetelevisions.fr/tools/getInfosOeuvre/v2/\?idDiffusion=(?P<id>.*)&catalogue=Pluzz', VideoPage)
|
||||
|
||||
def search_videos(self, pattern):
|
||||
|
|
@ -48,6 +47,3 @@ class PluzzBrowser(PagesBrowser):
|
|||
r = self.open(url, stream=True)
|
||||
buf = r.iter_lines()
|
||||
return buf
|
||||
|
||||
def latest_videos(self):
|
||||
return self.latest_page.go().iter_videos()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue