We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2941469 + 7b8bd98 commit 5eb6521Copy full SHA for 5eb6521
pywhatkit/misc.py
@@ -18,7 +18,15 @@ def take_screenshot(
18
screen = ImageGrab.grab()
19
screen.show(title=file_name)
20
screen.save(f"{file_name}.png")
21
-
+def web_scr(link:str) -> None:
22
+ BASE = 'https://render-tron.appspot.com/screenshot/'
23
+ url = link
24
+ path = 'ScreenShot.jpg'
25
+ response = requests.get(BASE + url, stream=True)
26
+ if response.status_code == 200:
27
+ with open(path, 'wb') as file:
28
+ for chunk in response:
29
+ file.write(chunk)
30
31
def show_history() -> None:
32
"""Prints the Log File Generated by the Library"""
0 commit comments