[ESP-ENG] Titulos y enlaces en finsmes || Titles and links in finsmes

avatar

Preview.png

Imagen diseñada con canva || Image designed with canva

Hola lector. Te presento finsmes, un sitio web sobre el sector fintech, pero con la peculiar característica de informarte sobre empresas que reciben financiamiento semilla. Revise y tiene muchísimas empresas, la lista es grande así que podrás valerte de un repositorio muy importante de startups tecnológico o financieras que su respectiva reseña organizativa.

Sinceramente, encontrar un sitio como este me motivo para usar mis habilidades de webscripting y almacenar datos en mi computadora, tengo curiosidad. Pero en estos momentos no será posible, en estos momentos no dispongo de un equipo con mejor capacidad de cómputo. Así que solo agregaré este pequeño proyecto a mi lista de "ideas no realizadas".

Bueno, eso es todo por hoy. Gracias por tu visita, espero que hayas disfrutado esta breve lectura. Hasta pronto.

Este script fue ejecutado con Python 3.9.13 en el sistema operativo Lubuntu 18.04.6.

Hello reader. I present to you finsmes, a website about the fintech sector, but with the peculiar feature of informing you about companies that receive seed funding. Check it out and it has a lot of companies, the list is big so you can make use of a very important repository of technological or financial startups and their respective organizational overview.

Honestly, finding a site like this would motivate me to use my webscripting skills and store data in my computer, I'm curious. But at the moment it won't be possible, I don't have a computer with better computing power at the moment. So I will just add this little project to my list of "unrealized ideas".

Well, that's all for today. Thanks for your visit, I hope you enjoyed this short reading. See you soon.

This script was run with Python 3.9.13 on Lubuntu 18.04.6 operating system.

import httpx
from selectolax.parser import HTMLParser

headers={'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 Edg/87.0.664.75'}

for index in range(1,6):

client=httpx.Client()
finsmes=client.get(f'https://www.finsmes.com/older-posts/page/{index}',headers=headers).text
finsmes_raw=HTMLParser(finsmes)

for hl in finsmes_raw.css("header > h2 > a"):

    print(f"Titles: {hl.text(strip=True)}, Links: {hl.attrs['href']}")

result.png


Text translated by DeepL



0 comments