Python Automation for Remote Worker Series | Automate Website Interactions



Python Automation for Remote Worker Series | Automate Website Interactions

Python Automation for Remote Worker Series | Automate Website Interactions

Automate Web Interacts ( We’ll do this more with APIs in part #3)

Honestly each of these packages deserves full courses to go over all the cool things you can do with them. Hopefully this video gives you a quick overview of when and how to use them.

Kite helps fund the channel, thanks for checking them out and supporting me —
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=derricksherrill&utm_content=description-only

Download for driver: https://chromedriver.chromium.org/downloads

Remote Worker Automation Playlist :
https://www.youtube.com/watch?v=saO_wEhnwc0&list=PLc_Ps3DdrcTtjOvU01ZijSntOCmfRPUqs

Support the Channel on Patreon —
https://www.patreon.com/join/derricksherrill
Join The Socials —
Reddit – https://www.reddit.com/r/CodeWithDerrick/
FB – https://www.facebook.com/CodeWithDerrick/
Insta – https://www.instagram.com/codewithderrick/
Twitter – https://twitter.com/codewithderrick
LinkedIn – https://www.linkedin.com/in/derricksherrill/
GitHub – https://github.com/Derrick-Sherrill
*****************************************************************
Full code from the video:
import requests
from bs4 import BeautifulSoup

from selenium import webdriver

url = ‘https://www.derricksherrill.com’
response = requests.get(url)
print(response.status_code)
print(response.text)

soup = BeautifulSoup(response.text, ‘html.parser’)
print(soup.find_all(‘a’)[1:5:1])

driver = webdriver.Chrome(‘./chromedriver’)
url_to_search = ‘https://www.gamestop.com/video-games/switch/consoles/products/nintendo-switch-with-gray-joy-con/11095821.html’

driver.get(url_to_search)

content = driver.find_element_by_xpath(‘//*[@id=”primary-details”]/div[4]/div[12]/div[3]/div/div[1]/button’)
print(content.text)

https://github.com/Derrick-Sherrill/Python-Automation/blob/master/Remote%20Work%20Series/RemoteWorkerAutomation-Websites.py

Packages (& Versions) used in this video:
Requests
BeautifulSoup4
Selenium

*****************************************************************
Code from this tutorial and all my others can be found on my GitHub:
https://github.com/Derrick-Sherrill/DerrickSherrill.com

Check out my website:
https://www.derricksherrill.com/

If you liked the video – please hit the like button. It means more than you know. Thanks for watching and thank you for all your support!!

36,475 subscribers at the time of writing. Y’all rock – thanks for your continual support. I wouldn’t be making these videos if it wasn’t for you guys. Thank you for keeping me motivated.

— Channel FAQ —

What text editor do you use?
Atom – https://atom.io/

What Equipment do you use to film videos?
https://www.amazon.com/shop/derricksherrill

What editing software do you use?
Adobe CC – https://www.adobe.com/creativecloud.html
Premiere Pro for video editing
Photoshop for images
After Effects for animations

Do I have any courses available?
Yes & always working on more!
https://www.udemy.com/user/derrick-sherrill-2/

Where do I get my music?
I get all my music from the copyright free Youtube audio library
https://www.youtube.com/audiolibrary/music?nv=1

Let me know if there’s anything else you want answered!

————————-

Always looking for suggestions on what video to make next — leave me a comment with your project! Happy Coding!

Comments are closed.