Closed Supernova1114 closed 8 months ago
Determine Ubiquti Web GUI API Availability:
Fetch Data through API (if available):
Explore Web Scraping as an Alternative (if no API):
Address Web Scraping Challenges:
If everything magically works here is my plan on how I will web scrap
import requests
from bs4 import BeautifulSoup
URL = "https://192.168.172.1/#dashboard"
page = requests.get(URL, verify=False)
soup = BeautifulSoup(page.content, "html.parser")
results = soup.find_all(class_="freq")
print(results.prettify())
from bs4 import BeautifulSoup
from selenium import webdriver
url = "http://legendas.tv/busca/walking%20dead%20s03e02"
browser = webdriver.PhantomJS()
browser.get(url)
html = browser.page_source
soup = BeautifulSoup(html, 'lxml')
a = soup.find('section', 'wrapper')
Datasheet for rover AP: https://dl.ubnt.com/datasheets/bullet_ac/Bullet_AC_DS.pdf