Skip to content

Commit f01ffb7

Browse files
committed
Updating Project
1 parent 656de2a commit f01ffb7

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
from __modules__.header_module import app_header
2-
from __modules__.youtube_search_Module import media_search
2+
from __modules__.youtube_search_Module import media_search
3+
from __modules__.youtube_Media_Downloader import downloadMedia
34
import asyncio
45

56

7+
async def media_search():
8+
media_search()
9+
10+
async def Download_Media():
11+
downloadMedia()
12+
613
async def main():
714
app_header()
8-
await media_search()
9-
15+
# await media_search()
16+
await downloadMedia()
17+
1018
if __name__ == '__main__':
1119
asyncio.run(main())

Project 14 - Media Searcher and Downloader/__modules__/instagram_media_searcher_module.py

Whitespace-only changes.

Project 14 - Media Searcher and Downloader/__modules__/youtube_Media_Downloader.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import yt_dlp
22
import os
3+
import argparse
34

45
def get_default_dir():
56
return os.path.join(os.path.expanduser('~'), "Downloads")
@@ -56,4 +57,3 @@ def downloadMedia():
5657
resolution = input("Enter desired resolution (e.g., 360p, 720p): ").strip()
5758
download_media(url, save_to, resolution)
5859

59-
downloadMedia()

0 commit comments

Comments
 (0)