diff --git a/req.txt b/req.txt index f9dc497..e69de29 100644 --- a/req.txt +++ b/req.txt @@ -1,10 +0,0 @@ -aiohttp>=3.8.4 -beautifulsoup4>=4.12.2 -Brotli>=1.0.9 -gallery_dl>=1.25.7 -pyrogram>=2.0.106 -python-dotenv==0.21.0 -PyExecJS>=1.5.1 -tenacity>=8.2.2 -tgCrypto>=1.2.3 -yt-dlp>=2023.6.22 diff --git a/run b/run index fec2c3d..5b1ad16 100644 --- a/run +++ b/run @@ -11,4 +11,20 @@ web.run_app(app, host='0.0.0.0', port=$API_PORT, reuse_port=True, print=None) fi +requirements=("aiohttp>=3.8.4" +"beautifulsoup4>=4.12.2" +"Brotli>=1.0.9" +"gallery_dl>=1.25.7" +"pyrogram>=2.0.106" +"python-dotenv==0.21.0" +"PyExecJS>=1.5.1" +"tenacity>=8.2.2" +"tgCrypto>=1.2.3" +"yt-dlp>=2023.6.22" +) + +for req in "${requirements[@]}"; do + pip install "${req}"; +done + python3 -m app \ No newline at end of file