[canalplus] do not fill url in search command
This commit is contained in:
parent
36f919e8fa
commit
0297f293a7
1 changed files with 4 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ import re
|
||||||
|
|
||||||
from weboob.tools.browser import BasePage
|
from weboob.tools.browser import BasePage
|
||||||
from weboob.capabilities.collection import Collection
|
from weboob.capabilities.collection import Collection
|
||||||
from weboob.capabilities.base import NotAvailable
|
from weboob.capabilities.base import NotAvailable, NotLoaded
|
||||||
from weboob.capabilities.image import BaseImage
|
from weboob.capabilities.image import BaseImage
|
||||||
|
|
||||||
from .video import CanalplusVideo
|
from .video import CanalplusVideo
|
||||||
|
|
@ -101,7 +101,9 @@ class VideoPage(BasePage):
|
||||||
|
|
||||||
def iter_results(self):
|
def iter_results(self):
|
||||||
for vid in self.document.getchildren():
|
for vid in self.document.getchildren():
|
||||||
yield self.parse_video(vid)
|
video = self.parse_video(vid)
|
||||||
|
video.url = NotLoaded
|
||||||
|
yield video
|
||||||
|
|
||||||
def iter_channel(self):
|
def iter_channel(self):
|
||||||
for vid in self.document.getchildren():
|
for vid in self.document.getchildren():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue