Skip to content

Commit

Permalink
pylint: auto fixes
Browse files Browse the repository at this point in the history
Signed-off-by: apisuserbot <[email protected]>
  • Loading branch information
apisuserbot committed Aug 29, 2021
1 parent e973b4f commit 06b8903
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion userbot/modules/scrapers.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from urllib.parse import quote_plus
from wikipedia import summary
from wikipedia.exceptions import DisambiguationError, PageError
from requests import get, post, exceptions
from requests import get
from search_engine_parser import YahooSearch as GoogleSearch
from googletrans import LANGUAGES, Translator
from gtts import gTTS
Expand Down Expand Up @@ -1168,6 +1168,7 @@ def useragent():
user_agent = choice(useragents)
return user_agent.text


@register(pattern="^.ss (.*)", outgoing=True)
async def capture(url):
""" For .ss command, capture a website's screenshot and send the photo. """
Expand Down

0 comments on commit 06b8903

Please sign in to comment.