Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScreenshotWebsite Function #1075

Open
1 of 2 tasks
xzdandy opened this issue Sep 8, 2023 · 1 comment
Open
1 of 2 tasks

ScreenshotWebsite Function #1075

xzdandy opened this issue Sep 8, 2023 · 1 comment
Assignees
Labels
Feature Request ✨ New feature or request Help Wanted 🙏 Outside help would be appreciated, good for new contributors User Experience

Comments

@xzdandy
Copy link
Collaborator

xzdandy commented Sep 8, 2023

Search before asking

  • I have searched the EvaDB issues and found no similar feature requests.

Description

Take a screenshot for a given webpage. Relevent code:

from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService

# Initialize a headless Chrome browser
chrome_service = ChromeService("/opt/homebrew/bin/chromedriver")
chrome_service.start()
driver = webdriver.Chrome(service=chrome_service)

# Navigate to the GitHub user's profile page
github_username = "acdha"
profile_url = f"[https://github.com/{github_username}](https://github.com/%7Bgithub_username%7D)"
driver.get(profile_url)

# Capture a screenshot of the user's profile
screenshot_path = "profile_screenshot.png"
driver.save_screenshot(screenshot_path)

Use case

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@xzdandy xzdandy added the Feature Request ✨ New feature or request label Sep 8, 2023
@xzdandy xzdandy changed the title ScreenshotWebsite Function ScreenshotWebsite Function Sep 8, 2023
@xzdandy xzdandy added User Experience Help Wanted 🙏 Outside help would be appreciated, good for new contributors labels Sep 22, 2023
@xzdandy xzdandy moved this to Ideation in EVA Public Roadmap ⚡🚀 Sep 22, 2023
@xzdandy xzdandy modified the milestone: Long Term Goal Sep 22, 2023
@jkim3663
Copy link
Contributor

jkim3663 commented Nov 13, 2023

Hi, I'm planning to work on this feature for 4420 evadb project @jarulraj

^ Nevermind, heard it was already done

@IshSiva IshSiva self-assigned this Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request ✨ New feature or request Help Wanted 🙏 Outside help would be appreciated, good for new contributors User Experience
Projects
Development

No branches or pull requests

3 participants