made db commit after each video and removed unecessary code

without the commit, interrupting the script would not mark videos
as downloaded even if they were fully downloaded before the script 
was stopped.