Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
4092a97
un
StarkGang Jun 5, 2021
1d0b49a
Update req.txt
StarkGang Jun 5, 2021
5d6641f
Update req.txt
StarkGang Jun 5, 2021
02fa879
Update req.txt
StarkGang Jun 6, 2021
1bdd3f3
Update dl_helpers.py
StarkGang Jun 6, 2021
87aa6eb
Fix
StarkGang Jun 6, 2021
5e3ea1c
Update any_dl.py
StarkGang Jun 6, 2021
cbab67e
Update any_dl.py
StarkGang Jun 6, 2021
d27fd97
Update any_dl.py
StarkGang Jun 6, 2021
ceed209
Update any_dl.py
StarkGang Jun 6, 2021
ced8c31
Update any_dl.py
StarkGang Jun 6, 2021
341885a
Update dl_helpers.py
StarkGang Jun 6, 2021
795351a
Fix
StarkGang Jun 8, 2021
5ce8bce
Update music_player.py
StarkGang Jun 8, 2021
ef212d8
Update music_player.py
StarkGang Jun 8, 2021
d551af3
Update music_player.py
StarkGang Jun 9, 2021
4b065c7
Create music_player.py
StarkGang Jun 9, 2021
90f0089
Update music_player.py
StarkGang Jun 9, 2021
f80e7ff
Update rom_search.py
StarkGang Jun 9, 2021
a1f4740
Update music_player.py
StarkGang Jun 9, 2021
73a43c3
Update music_player.py
StarkGang Jun 9, 2021
70067d2
Update music_player.py
StarkGang Jun 9, 2021
65d8e09
Update music_player.py
StarkGang Jun 9, 2021
ddf7518
Update music_player.py
StarkGang Jun 9, 2021
26677d3
Update music_player.py
StarkGang Jun 9, 2021
d679bef
Update music_player.py
StarkGang Jun 9, 2021
e2bc2e2
Update music_player.py
StarkGang Jun 9, 2021
cd83a73
Update music_player.py
StarkGang Jun 9, 2021
1b8ec47
Update music_player.py
StarkGang Jun 9, 2021
f5a07d7
Update music_player.py
StarkGang Jun 9, 2021
f6e75eb
Update music_player.py
StarkGang Jun 9, 2021
af12769
Update music_player.py
StarkGang Jun 9, 2021
b78f0ff
Update music_player.py
StarkGang Jun 9, 2021
bdd17e9
Update music_player.py
StarkGang Jun 9, 2021
4947335
Fix radio
StarkGang Jun 9, 2021
f67e397
Update music_player.py
StarkGang Jun 9, 2021
f1a226a
Update music_player.py
StarkGang Jun 9, 2021
8704735
Update music_player.py
StarkGang Jun 9, 2021
06d8032
Update music_player.py
StarkGang Jun 9, 2021
b8193e1
Update music_player.py
StarkGang Jun 9, 2021
3dbed22
Update music_player.py
StarkGang Jun 10, 2021
da9ba2f
Update music_player.py
StarkGang Jun 11, 2021
6581c97
Update music_player.py
StarkGang Jun 11, 2021
0970f01
Update music_player.py
StarkGang Jun 11, 2021
e1b639d
Update music_player.py
StarkGang Jun 11, 2021
10ed7d1
Update music_player.py
StarkGang Jun 11, 2021
7325e0e
Update music_player.py
StarkGang Jun 11, 2021
4e90836
Update music_player.py
StarkGang Jun 11, 2021
de27c90
Fix
StarkGang Jun 11, 2021
2b3da04
Update music_player.py
StarkGang Jun 11, 2021
abcaf10
Update music_player.py
StarkGang Jun 11, 2021
4904458
Update music_player.py
StarkGang Jun 11, 2021
5d2ffaa
Update music_player.py
StarkGang Jun 11, 2021
92e6a9e
Create music_player.py
StarkGang Jun 11, 2021
49b2da5
Update music_player.py
StarkGang Jun 11, 2021
69f5446
Update music_player.py
StarkGang Jun 11, 2021
c1d43e6
Update music_player.py
StarkGang Jun 11, 2021
6ff4bf2
Update music_player.py
StarkGang Jun 12, 2021
11bce79
Update music_player.py
StarkGang Jun 12, 2021
b86a10d
Update music_player.py
StarkGang Jun 12, 2021
d48e6f9
Update music_player.py
StarkGang Jun 12, 2021
9b6caa4
Update music_player.py
StarkGang Jun 12, 2021
6d41f94
Update music_player.py
StarkGang Jun 12, 2021
556df5b
Update music_player.py
StarkGang Jun 12, 2021
2351f80
Update music_player.py
StarkGang Jun 12, 2021
9dde54a
Update music_player.py
StarkGang Jun 12, 2021
a1b924f
Update music_player.py
StarkGang Jun 12, 2021
efc4f08
Update music_player.py
StarkGang Jun 12, 2021
3cdccb1
Update music_player.py
StarkGang Jun 12, 2021
d2ae31b
Update music_player.py
StarkGang Jun 12, 2021
a885d55
Update music_player.py
StarkGang Jun 12, 2021
15540e5
Nice
StarkGang Jun 14, 2021
e63aa0a
N
StarkGang Jun 14, 2021
9c6afdc
Update music_player.py
StarkGang Jun 15, 2021
210cb85
Update rom_search.py
StarkGang Jun 15, 2021
0e83b80
Update cc_tools.py
StarkGang Jun 15, 2021
60d3ea0
Update carbon.py
StarkGang Jun 15, 2021
5d89e54
Update carbon.py
StarkGang Jun 15, 2021
0e25580
Update req.txt
StarkGang Jun 15, 2021
58af494
Update req.txt
StarkGang Jun 15, 2021
c122af0
Update imdb.py
StarkGang Jun 16, 2021
f4021f3
Update imdb.py
StarkGang Jun 16, 2021
4c9b419
Create git.py
chsaiujwal Jun 17, 2021
77ce13e
Update git.py
chsaiujwal Jun 17, 2021
3747ac6
Update git.py
chsaiujwal Jun 17, 2021
635f85f
Update git.py
chsaiujwal Jun 17, 2021
d2a791a
Update git.py
StarkGang Jun 17, 2021
3bc5f78
Update git.py
StarkGang Jun 17, 2021
7ff8475
Update git.py
StarkGang Jun 17, 2021
a8ccc68
Update git.py
chsaiujwal Jun 17, 2021
eacb7cf
Update git.py
StarkGang Jun 17, 2021
4549ad3
Rename git.py to github_search.py
StarkGang Jun 17, 2021
4179a97
Update github_search.py
StarkGang Jun 17, 2021
ccdc5ad
Update dl_.py
StarkGang Jun 17, 2021
187930e
Update dl_.py
StarkGang Jun 17, 2021
ce92c36
Create advice.py
chsaiujwal Jun 21, 2021
194a71b
Create user-agent-info.py
chsaiujwal Jun 22, 2021
43d4779
Update any_dl.py
StarkGang Jul 4, 2021
9e51798
Update dl_.py
StarkGang Jul 4, 2021
351e732
Update advice.py
StarkGang Jul 4, 2021
1e2ec4f
Update user-agent-info.py
StarkGang Jul 4, 2021
728cc1a
Delete xvideo.py
StarkGang Jul 4, 2021
04a53e0
Update any_dl.py
StarkGang Jul 4, 2021
feaa746
Update req.txt
StarkGang Jul 22, 2021
6e724a8
Update music_player.py
StarkGang Jul 22, 2021
ff32b20
'Refactored by Sourcery'
Mar 10, 2022
10df39d
Merge pull request #12 from DevsExpo/sourcery/unstable
StarkGang Mar 30, 2022
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
12 changes: 6 additions & 6 deletions Cricket_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# All rights reserved.


import urllib.request
import aiohttp
from main_startup.helper_func.basic_helpers import edit_or_reply, get_text
from bs4 import BeautifulSoup
from pyrogram import filters
Expand All @@ -23,15 +23,15 @@
)
async def _(client, message):
score_page = "http://static.cricinfo.com/rss/livescores.xml"
page = urllib.request.urlopen(score_page)
async with aiohttp.ClientSession() as session:
async with session.get(score_page) as resp:
page = await resp.text()
soup = BeautifulSoup(page, "html.parser")
result = soup.find_all("description")
Sed = ""
for match in result:
Sed += match.get_text() + "\n\n"
Sed = "".join(match.get_text() + "\n\n" for match in result)
await edit_or_reply(
message,
f"<b><u>Match information gathered successful</b></u>\n\n\n<code>{Sed}</code>",
f"<b><u>Match information Gathered Successfully</b></u>\n\n\n<code>{Sed}</code>",
parse_mode="html",
)

24 changes: 24 additions & 0 deletions advice.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright (C) 2020-2021 by DevsExpo@Github, < https://github.com/DevsExpo >.
#
# This file is part of < https://github.com/DevsExpo/FridayUserBot > project,
# and is released under the "GNU v3.0 License Agreement".
# Please see < https://github.com/DevsExpo/blob/master/LICENSE >
#
# All rights reserved.

from main_startup.core.decorators import friday_on_cmd
from main_startup.helper_func.basic_helpers import edit_or_reply, get_text
import requests

@friday_on_cmd(
["advice"],
cmd_help={
"help": "Gives You Simple Advice",
"example": "{ch}advice",
},
)
async def advice(client, message):
engine = message.Engine
pablo = await edit_or_reply(message, engine.get_string("PROCESSING"))
r = requests.get("https://api.adviceslip.com/advice")
await pablo.edit(r.json()["slip"]["advice"])
104 changes: 0 additions & 104 deletions amazon_watch.py

This file was deleted.

11 changes: 9 additions & 2 deletions amazonsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
#
# All rights reserved.

import requests
import aiohttp
from main_startup.core.decorators import friday_on_cmd
from main_startup.helper_func.basic_helpers import edit_or_reply, get_text




@friday_on_cmd(
["amsearch"],
cmd_help={
Expand All @@ -26,7 +28,12 @@ async def _am_search_by_lackhac(client,message):
await msg_.edit("`Please, Give Input!`")
return
product = ""
r = requests.get(f"https://amznsearch.vercel.app/api/?query={query}").json()
url = f"https://amznsearch.vercel.app/api/?query={query}"
async with aiohttp.ClientSession() as session:
resp = await session.get(url)
r = await resp.json()
if not r:
return await msg_.edit("`No Results Found!`")
for products in r:
link = products['productLink']
name = products['productName']
Expand Down
Loading