Skip to content

Commit

Permalink
Hmm Better !!!!
Browse files Browse the repository at this point in the history
Better Implementation.
  • Loading branch information
KSKOP69 committed Dec 1, 2024
1 parent c6837ec commit 98d8099
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<h1 align="center"><b>❤️ 𝘼𝙡𝙚𝙭𝙖 𝙈𝙪𝙨𝙞𝙘 ❤️</b></h1>

<h4 align="justify">
Introducing Alexa Music – your smart, powerful, and simple bot for seamless audio and video playback on Telegram.
Written in Python with the latest Pyrogram, Alexa Music delivers a superior entertainment experience.
Upgrade now for optimal performance and a new level of Telegram enjoyment.
<br> ... Working With Pyrogram Latest Version...
<h4 align="center">
Introducing Alexa Music – your smart, powerful, and simple bot for seamless audio and video playback on Telegram. Written in Python with the latest Pyrogram, Alexa Music delivers a superior entertainment experience. Upgrade now for optimal performance and a new level of Telegram enjoyment.<br> Working With Pyrogram Latest Version...
</h4>
<p align="center">
<a href="https://t.me/Alexa_BotUpdates">
Expand Down
6 changes: 5 additions & 1 deletion AlexaMusic/core/cookies.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ def save_file(pastebin_url, file_path="cookies/cookies.txt"):

os.makedirs(os.path.dirname(file_path), exist_ok=True)

if os.path.exists(file_path) and os.path.getsize(file_path) > 0:
with open(file_path, "w") as file:
file.write("")

with open(file_path, "w") as file:
file.write(response.text)
return file_path

except requests.exceptions.RequestException:
pass
return None


def save_cookies():
Expand Down
1 change: 1 addition & 0 deletions cookies/cookies.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Dont Paste or Change Anything Here.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
aiofiles
aiohttp==3.10.0
aiohttp
beautifulsoup4
dnspython
ffmpeg-python
Expand All @@ -22,5 +22,5 @@ speedtest-cli
spotipy
https://github.com/rojvv/tgcrypto/archive/main.zip
unidecode
yt-dlp==2024.11.18
yt-dlp
youtube-search-python

0 comments on commit 98d8099

Please sign in to comment.