Instagram Scraping Configuration
Profile Settings
The Instagram username to scrape content from.Location:
scraping5.py:8Example:Output Settings
CSV filename for scraped data output.Location:
scraping5.py:14Format: UTF-8 encoded CSV with headersCSV Headers
The output CSV includes the following columns:Fecha- Post dateTexto del reel- Caption textLikes- Like countComentarios- Comment countURL del video- Video file URLVisualizaciones- View countDuración del video (s)- Duration in secondsURL del Post- Instagram post URL
Map Generation Configuration
Input Data
Excel file containing reel data with location information.Location:
mapita5.py:11Required columns:Localización- Coordinates in “lat,lon” formatURL de imagen- Image URL for thumbnailsTexto del reel- Reel captionURL del Post- Instagram post link
Image Storage
Directory for storing downloaded thumbnail images.Location:
mapita5.py:6-8Behavior: Created automatically if it doesn’t existNaming pattern for downloaded images.Variables:
{index}- Row index from the DataFrame
Map Display Settings
Initial center coordinates for the map [latitude, longitude].Location:
mapita5.py:40Default: Centered on the Canary IslandsFormat: [latitude, longitude]Example:Initial zoom level for the map.Location:
mapita5.py:40Range: 1-181-3: World view4-6: Country/region view (default)7-10: City view11-18: Street/building view
Maximum width in pixels for marker popup windows.Location:
mapita5.py:57Width in pixels for thumbnail images in popups.Location:
mapita5.py:51Note: Height is set to auto to maintain aspect ratioOutput Settings
Filename for the generated HTML map.Location:
mapita5.py:61Format: Standalone HTML file with embedded JavaScriptData Analysis Configuration
Input Data
Excel file for exploratory data analysis.Location:
EDA.ipynbDisplay Settings
Pandas display option for showing full column content.Usage:
Visualization Settings
The analysis notebook uses:- Matplotlib for static plots
- Seaborn for statistical visualizations
- Plotly for interactive charts
- Categories: Default Plotly color palette
- Bubble sizes: Proportional to view counts