Рет қаралды 7,013
Part 1 of creating a bot to sell items on the Steam marketplace. In this video, you will learn how to automate browser actions using the Python programming language and the third-party Selenium library. You will learn how to click on an HTML element and transfer text to it. Learn how to write XPath queries to find elements in the markup of a page, as well as find an element by text within.
GitHub repository: github.com/lesskop/steam-mark...
Geckodriver driver for Mozilla Firefox: github.com/mozilla/geckodrive...
Selenium documentation: www.selenium.dev/documentatio...
Support channel: yoomoney.ru/to/410012320109479
Habr: habr.com/ru/users/lesskop/posts
Social networks:
VK: lesskop
Instagram: / lesskop
Time codes:
0:00 - Intro
1:20 - Terms of reference
2:03 - Initial setup of the program
3:22 - Steam Authorization Method
5:39 - Checking the existence of an element on a page using XPath
6:20 - Method of sending Steam Guard code
8:05 - Checking the program
8:32 - Inventory entry method
10:10 - Selecting the active game tab
10:32 - Find element by text inside using XPath
11:15 - Method for clicking on the checkbox of items for sale
12:17 - Getting the number of items sold
13:47 - Checking the program
15:06 - Shtosh
15:25 - Lo-Fi girl with CatJAM