Move videoob-webserver to contrib
Since no one seems to use it. I fixed the biggest issues so it is now usable again!
This commit is contained in:
parent
39f08f9b67
commit
346704bae5
6 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
from weboob.applications.videoob_web import VideoobWeb
|
from videoob_web import VideoobWeb
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
@ -99,7 +99,7 @@ class VideoobWeb(BaseApplication):
|
||||||
videos = [dict(title=video.title,
|
videos = [dict(title=video.title,
|
||||||
page_url=video.page_url,
|
page_url=video.page_url,
|
||||||
url=video.url if video.url else '/download?id=%s' % video.id,
|
url=video.url if video.url else '/download?id=%s' % video.id,
|
||||||
thumbnail_url=video.thumbnail_url,
|
thumbnail_url=video.thumbnail.url,
|
||||||
) \
|
) \
|
||||||
for video in backend.iter_search_results(pattern=q, nsfw=nsfw)]
|
for video in backend.iter_search_results(pattern=q, nsfw=nsfw)]
|
||||||
if videos:
|
if videos:
|
||||||
Loading…
Add table
Add a link
Reference in a new issue