diff --git a/requrements.txt b/requrements.txt new file mode 100644 index 0000000..d8454d1 --- /dev/null +++ b/requrements.txt @@ -0,0 +1,80 @@ +aio-pika==9.2.2 +aiofiles==23.1.0 +aiogram==3.0.0 +aiohttp==3.8.5 +aiormq==6.7.7 +aiosignal==1.3.1 +annotated-types==0.5.0 +anyio==3.7.1 +async-timeout==4.0.3 +attrs==23.1.0 +beautifulsoup4==4.12.2 +boto3==1.28.36 +botocore==1.31.36 +Brotli==1.0.9 +certifi==2023.7.22 +charset-normalizer==3.2.0 +click==8.1.6 +commonmark==0.9.1 +fastapi==0.101.0 +ffmpeg==1.4 +ffprobe==0.5 +Flask==2.2.2 +Flask-Login==0.6.2 +frozenlist==1.4.0 +greenlet==2.0.2 +h11==0.14.0 +idna==3.4 +iniconfig==2.0.0 +itsdangerous==2.1.2 +Jinja2==3.1.2 +jmespath==1.0.1 +loguru==0.6.0 +lxml==4.9.3 +magic-filter==1.0.11 +MarkupSafe==2.1.3 +minio==7.1.16 +multidict==6.0.4 +mutagen==1.46.0 +packaging==23.1 +pamqp==3.2.1 +pika==1.3.2 +playwright==1.37.0 +pluggy==1.3.0 +ply==3.11 +pyaes==1.6.1 +pycryptodome==3.18.0 +pycryptodomex==3.18.0 +pydantic==2.3.0 +pydantic_core==2.6.3 +pyee==9.0.4 +Pygments==2.16.1 +Pyrogram @ https://github.com/Dineshkarthik/pyrogram/archive/refs/heads/master.zip +PySocks==1.7.1 +pytest==7.4.0 +pytest-base-url==2.0.0 +pytest-playwright==0.4.2 +python-dateutil==2.8.2 +python-multipart==0.0.6 +python-slugify==8.0.1 +PyYAML==5.3.1 +redis==5.0.0 +requests==2.31.0 +rich==12.5.1 +ruamel.yaml==0.17.21 +s3transfer==0.6.2 +setproctitle==1.3.2 +six==1.16.0 +sniffio==1.3.0 +soupsieve==2.4.1 +starlette==0.27.0 +text-unidecode==1.3 +TgCrypto==1.2.5 +typing_extensions==4.7.1 +urllib3==1.26.16 +uvicorn==0.23.2 +websockets==11.0.3 +Werkzeug==2.2.2 +yarl==1.9.2 +youtube-dl @ git+https://github.com/ytdl-org/youtube-dl.git@86e3cf5e5849aefcc540c19bb5fa5ab7f470d1c1 +yt-dlp==2023.7.6 diff --git a/src/parsers/Telegram/telegram_media_downloader/config.yaml b/src/parsers/Telegram/telegram_media_downloader/config.yaml index a3947a5..dcb5cbc 100644 --- a/src/parsers/Telegram/telegram_media_downloader/config.yaml +++ b/src/parsers/Telegram/telegram_media_downloader/config.yaml @@ -1,9 +1,9 @@ api_hash: cb06da2bf01e15627434223242b6446d api_id: 21648766 chat: -- chat_id: -1001966291562 - download_filter: id == 2048 - last_read_message_id: 2048 +- chat_id: landigos + download_filter: id == 6964 + last_read_message_id: 6964 file_formats: video: - all diff --git a/src/parsers/Telegram/telegram_media_downloader/module/bot.py b/src/parsers/Telegram/telegram_media_downloader/module/bot.py index 99f021e..5140eff 100644 --- a/src/parsers/Telegram/telegram_media_downloader/module/bot.py +++ b/src/parsers/Telegram/telegram_media_downloader/module/bot.py @@ -11,7 +11,7 @@ from pyrogram import types from pyrogram.handlers import MessageHandler from ruamel import yaml -import utils +from src.parsers.Telegram.telegram_media_downloader import utils from src.parsers.Telegram.telegram_media_downloader.module.app import ( Application, ChatDownloadConfig, diff --git a/src/parsers/Telegram/telegram_media_downloader/module/web.py b/src/parsers/Telegram/telegram_media_downloader/module/web.py index fd3c910..887c691 100644 --- a/src/parsers/Telegram/telegram_media_downloader/module/web.py +++ b/src/parsers/Telegram/telegram_media_downloader/module/web.py @@ -6,7 +6,7 @@ import threading from flask import Flask, jsonify, render_template, request -import utils +from src.parsers.Telegram.telegram_media_downloader import utils from flask_login import LoginManager, UserMixin, login_required, login_user from src.parsers.Telegram.telegram_media_downloader.module.app import Application from src.parsers.Telegram.telegram_media_downloader.module.download_stat import (