Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions plugins/pw.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ async def account_login(bot: Client, m: Message):
try:
for data in response4:
class_title=(data["topic"])
class_url=data["url"].replace("d1d34p8vz63oiq", "d3nzo6itypaz07").replace("mpd", "m3u8").strip()
class_url=data["url"].replace("d1d34p8vz63oiq", "d26g5bnklkwsh4").replace("mpd", "m3u8").strip()
#cc=f"```{data['topic']}```:```{data['url']}\n```"
cc = f"{data['topic']}:{data['url']}"
with open(f"{batch}.txt", 'a') as f:
Expand All @@ -187,7 +187,7 @@ async def account_login(bot: Client, m: Message):
try:
for data in response5:
class_title=(data["topic"])
class_url=data["url"].replace("d1d34p8vz63oiq", "d3nzo6itypaz07").replace("mpd", "m3u8").strip()
class_url=data["url"].replace("d1d34p8vz63oiq", "d26g5bnklkwsh4").replace("mpd", "m3u8").strip()
#cc=f"```{data['topic']}```:```{data['url']}\n```"
cc = f"{data['topic']}:{data['url']}"
with open(f"{batch}.txt", 'a') as f:
Expand All @@ -200,7 +200,7 @@ async def account_login(bot: Client, m: Message):
try:
for data in response6:
class_title=(data["topic"])
class_url=data["url"].replace("d1d34p8vz63oiq", "d3nzo6itypaz07").replace("mpd", "m3u8").strip()
class_url=data["url"].replace("d1d34p8vz63oiq", "d26g5bnklkwsh4").replace("mpd", "m3u8").strip()
#cc=f"```{data['topic']}```:```{data['url']}\n```"
cc = f"{data['topic']}:{data['url']}"
with open(f"{batch}.txt", 'a') as f:
Expand All @@ -212,4 +212,4 @@ async def account_login(bot: Client, m: Message):
await m.reply_document(f"{batch}.txt")
except Exception as e:
await m.reply_text(str(e))