]> git.phdru.name Git - m_librarian.git/blobdiff - scripts/ml-search.py
Set timestamp for the downloaded book
[m_librarian.git] / scripts / ml-search.py
index 18004fd71ad533e1f8262190eb075ec01af2ec9f..b257084a749d03a487f2f0889b656b57639d35dc 100755 (executable)
@@ -147,7 +147,7 @@ def _search_books(case_sensitive, search_type, args):
             sys.exit(1)
         book = books[0]
         download(book.archive, '%s.%s' % (book.file, book.extension.name),
-                 args.path)
+                 book.date, args.path)
         return
     count = 0
     for book in books: