首页 > 解决方案 > Using a webcrawler to fetch data

问题描述

I would like to create website which quizzes people on animal facts, I could do it manually, but I am wondering how I would go about automating the 'retrieval of facts' from the internet and then inputting it into the quizzes automaticallly. I'm thinking, I could build a web crawler/scraper that collects parts of information from popular sites, and then sends that data to the site, to make the quiz.

How would you go about solving this issue, and if there is a better way of achieving the same think?

PS: I am a beginner, and I might not be using the right terminology

标签: javapythonweb-scraping

解决方案


Look up Selenium. It is my favorite library for python. It can log into sites, click on certain elements, and you can get data very easily.

Use pip install selenium to download


推荐阅读