diff --git a/weboob/applications/galleroob/galleroob.py b/weboob/applications/galleroob/galleroob.py index c5ab0af5..494cba8c 100644 --- a/weboob/applications/galleroob/galleroob.py +++ b/weboob/applications/galleroob/galleroob.py @@ -59,6 +59,12 @@ class Galleroob(ReplApplication): print 'Gallery not found: %s' % _id return 1 + backend.fillobj(gallery, ('title',)) + if dest is None: + dest = sub('/', ' ', gallery.title) + + print "Downloading to %s" % dest + os.system('mkdir "%s"' % dest) i = 0