The lecture's code as small functions with Doxygen comments: create the Chrome driver (webdriver.Chrome, optional headless for Docker), open the main page with get(), read the article count with find_element(By.CSS_SELECTOR, ...) and print it, then quit the driver. Runnable as python -m scraping_wiki.interaction.
Phase: MIL-002
The lecture's code as small functions with Doxygen comments: create the Chrome driver (`webdriver.Chrome`, optional headless for Docker), open the main page with `get()`, read the article count with `find_element(By.CSS_SELECTOR, ...)` and print it, then quit the driver. Runnable as `python -m scraping_wiki.interaction`.
Phase: MIL-002
Tirsvad
added this to the MIL-002 Interaction script milestone 2026-10-28 09:08:03 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The lecture's code as small functions with Doxygen comments: create the Chrome driver (
webdriver.Chrome, optional headless for Docker), open the main page withget(), read the article count withfind_element(By.CSS_SELECTOR, ...)and print it, then quit the driver. Runnable aspython -m scraping_wiki.interaction.Phase: MIL-002