mavilam / what_to_read_bot

Bot para recomendar los libros más leídos de cada semana en distintas plataformas de venta de libros

Home Page:https://mavilam.github.io/what_to_read_bot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extract html elements to be scrapped to a static file

mavilam opened this issue · comments

Improvement 👍

Current Behavior
Currently, the html elements to be scrapped are hardcoded and they have placed in the scrap file and the test file

Input Code

entry.find('a', {'class': ' Article-title js-minifa-title js-Search-hashLink'}).getText()

Expected behavior/code
In order to make the code clearer, it would be good to place them in an external file.