Commit 346704ba authored by Laurent Bachelier's avatar Laurent Bachelier 🐧

Move videoob-webserver to contrib

Since no one seems to use it.
I fixed the biggest issues so it is now usable again!
parent 39f08f9b
......@@ -20,7 +20,7 @@
# 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__':
......
......@@ -99,7 +99,7 @@ class VideoobWeb(BaseApplication):
videos = [dict(title=video.title,
page_url=video.page_url,
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)]
if videos:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment