【问题标题】:how to give multiple inputs and take SS of all of them如何提供多个输入并全部取 SS
【发布时间】:2020-09-22 09:11:34
【问题描述】:

所以下面是我的程序,。我的意图是打开网页并截图。任何帮助或建议将不胜感激。

import webbrowser
import pyautogui, time

url = input()

# input 'https://stackoverflow.com/'

chrome_path = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s'

webbrowser.get(chrome_path).open(url)
time.sleep(10)
screenshot = pyautogui.screenshot()
screenshot.save("anothertest.png")

【问题讨论】:

标签: python python-3.x web-scraping pyautogui


【解决方案1】:

我猜你可以使用 Pyppeteer 来做这个 - 但方法是相似的

【讨论】:

    猜你喜欢
    • 2019-05-04
    • 2022-08-18
    • 1970-01-01
    • 1970-01-01
    • 2017-12-07
    • 1970-01-01
    • 2011-10-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多