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:
Laurent Bachelier 2012-02-10 14:23:51 +01:00
commit 346704bae5
6 changed files with 2 additions and 2 deletions

View file

@ -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__':

View file

@ -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: