Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion lessons/02_web_scraping.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,18 @@
"name": "stdout",
"output_type": "stream",
"text": [
<<<<<<< HEAD
"Requirement already satisfied: lxml in c:\\users\\jjala\\appdata\\local\\programs\\python\\python313\\lib\\site-packages (6.0.1)\n",
=======
"Requirement already satisfied: lxml in c:\\users\\fmerino\\documents\\github\\python-web-scraping\\.venv312\\lib\\site-packages (6.0.1)\n",
>>>>>>> 4434ccbd434aea320087dbc6f0526e1907dbc858
"Note: you may need to restart the kernel to use updated packages.\n"
]
}
],
"source": [
"# 🧩 El comando %pip install lxml instala la librería lxml en tu entorno de Jupyter Notebook.\n",
"# ⚡ lxml es un parser rápido y eficiente para analizar y procesar archivos HTML y XML, muy útil para usar con Beautiful Soup en web scraping.\n",
"%pip install lxml"
]
},
Expand All @@ -139,7 +145,8 @@
},
"outputs": [],
"source": [
"# Import required libraries\n",
"# Importamos las librerías necesarias\n",
"# ⏳ time: para manejar pausas y temporizadores (por ejemplo, para esperar entre solicitudes y no saturar un sitio web).\n",
"from bs4 import BeautifulSoup\n",
"from datetime import datetime\n",
"import requests\n",
Expand Down