will62185 / web-scraper Goto Github PK
View Code? Open in Web Editor NEWscrape website data using python 3 and beautifulsoup 4
scrape website data using python 3 and beautifulsoup 4
This can be set an enhancement. We need to improved the results of the scraper and define a separate function for oil. I took care of this
We need to fix the tag to pull the correct values. I can work this issue . Please set the lables
As an example this can look something like this:
import smtplib
import datetime
import os
from sys import argv
# Instead of these values being hardcoded that can be set at runtime via argv
TO = "{User-email}"
SUBJECT = "Check out these service specials"
TEXT = "Web Scrape results go here"
# Email sign in, in this case gmail
# Ideally these will be environment variables
gmail_sender = "{[email protected]}"
gmail_passwd = "{email password}"
server = smtplib.SMTP("smtp.gmail.com", 587)
server.ehlo()
server.starttls()
server.login(gmail_sender, gmail_passwd)
BODY = "\r\n".join(["To: %s" % TO,
"From: %s" % gmail_sender"
"Subject: %s" % SUBJECT,
" ", TEXT])
try:
server.sendmail(gmail_sender, [TO], BODY)
print("Email was successfully sent")
except:
print("Email failed to send yo")
server.quit()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.