Skip to content

Instantly share code, notes, and snippets.

View hexod0t's full-sized avatar

David hexod0t

  • GYE
View GitHub Profile
@hexod0t
hexod0t / ScreenShooter
Created January 21, 2022 14:15
Take a Screenshot from an URL using Selenium
## Dependencies: Selenium and Gecko Driver
### pip install selenium
### Gecko Driver -> https://github.com/mozilla/geckodriver/releases
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.firefox.options import Options as FirefoxOptions
from time import sleep
options = FirefoxOptions()
"""
*********** TED TALKS VIDEO DOWNLOADER V1.0 ***********
*********** Author: hexod0t
****************************************
"""
import requests, re, sys
from bs4 import BeautifulSoup