|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/vba-selenium-web-scraping-part-12/
课程评论:没有评论
课程名称:VBA Selenium 网页抓取 第 1 部分 课程概述:在这部分课程中,您将学习如何使用 Google Chrome 和 Selenium 库进行网页抓取。内容包括: - Selenium 和浏览器驱动的下载与初始设置。 - 使用 findelement 方法处理属性,如名称和 ID。 - 操作 A 标签及其 href 属性以点击链接。 - 讨论类属性的使用情况及其优劣。 - 理解和使用 XPath,插入数据到文本框并点击搜索按钮,同时也学习 XPath 的结构。 - 根据索引修改 XPath 元素。 - 用普通方法和 XPath 处理标题标签,如 h1、h2 和 h3。 - 理解集合循环的运行原理、必要性及何时可以避免使用集合循环。 - 区分 Web-element 和 Webelements,了解为何对集合元素使用 set 关键字而非单个对象。 - 使用 link-text 和 partial link text 属性在网页上点击链接。 - 进行一个迷你项目:如何在当前日期默认加载网站。 - 学习抓取表格及其行、数据值和表头。 - 从一开始设计和执行集合循环,特别是在处理表格时。 - 探讨是导出网站的所有表格,还是抓取特定的单个表格,以及如何访问表格的特定索引。 - 学习如何抓取特定表格中的具体行,理解“tr”标签的使用。 - 使用“td”标签抓取行内的所有数据或特定数据值。 - 掌握在不运行集合循环的情况下导出表格,了解直接导出与使用循环导出的区别。 - 处理无序和有序列表中的“li”标签。 - 学习如何在下拉框或组合框中插入值。 - 选择或取消选择列表框中的项目,包括单选和多选属性。 - 学习使用集合循环或不使用循环来选择或取消选择列表框选项。 - 通过引用嵌套对象改变集合元素的方式。 这门课将为您提供网页抓取的实用技能,帮助您更好地从网络上获取所需信息。
In this Part1 you shall learn below written things. Please go through them.We are going to learn Webscraping using google chrome and it will be done using selenium library.Learn how to download selenium and browser drivers to first initially do the setup.How work with attributes like name, id using findelement methods.How to work with tags like A tag and its attribute href to click on the links.How to use class attribute and is it a good approach to use class attribute.how to work with Xpath to insert the data into textboxes and click on search buttons. Not just use but understand the structure of Xpath as well.Learn how we can change the xpath elements by their indexes.How to work with header tags like h1 or h2 or h3 using normal way and using xpath.How to run the collection loops and why we need it and when we can avoid using collection loops.What is difference between Web-element and Webelements and why we use set word for collection elements and not for single object.How to click on links on webpage using link -text and partial link text property. Based on this knowledge one mini project -how to load website by default on current date.How to scrape tables and its rows and rows data values and table headers.Collection loops design and execution from very start while working with tables.Do you like to export all tables in a website or do you want to scrape one specific table only, How to reach out to specific index of a table then.How to scrape specific rows inside one specific table. Know your "tr' tags.How to scrape all data insider rows or just one specific data value using td tag. Its awesome when you have so much control.How to export tables with out running collection loops and what is the difference between direct export and export using loops. You must know.How to work with li tags inside unordered and ordered lists. Know how to insert a value in drop down or combo-boxes.How to select items in list box with single select property or multi select property.Learn to select or de-select listbox options using collection loops or without the loops.How to alter the collection elements by referring to one object and second inside the first one and so on.