Skip to content

Commit

Permalink
move mp4 files from source to destination
Browse files Browse the repository at this point in the history
  • Loading branch information
linrakesh committed Nov 25, 2019
1 parent 8ed0399 commit 68b0c7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Automation/move.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import glob
import os
import shutil
dest_dir = "C:/test"
for file in glob.glob('e:/python/*.mp4'):
print(file)
shutil.copy(file, dest_dir)
os.unlink(file)
2 changes: 1 addition & 1 deletion webscraper/youtubeDownloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
ydl_opts = {}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
ydl.download(
['https://www.facebook.com/111437890200079/videos/2399259550150228/'])
['https://www.youtube.com/watch?v=3qti7Vof_7Q&list=PLbGui_ZYuhiiaQjuOfvgx_-gzVBlCxrk0&index=1'])

0 comments on commit 68b0c7d

Please sign in to comment.