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

avatar

Preview.png

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

Hola lector, estoy por aquí otra vez. Espero que mis publicaciones te hayan gustado. En esta oportunidad quiero mostrarte otro sitio web que se llama mintme, Este no es más que un blog- bueno, yo lo veo así-, donde sus autores comparte diferentes opiniones sobre temas relevantes de la comunidad blockchain de Internet. Puedes visitarlos, quizás te gusten o encuentres una opinión debatible sobre aspectos regulatorios, impactos sociales y económicos que genero la aparición de las criptomonedas. Tal vez te sirve como un método para reflexionar un poco. Pero bueno, eso está en cada quien.

Siento que esta vez no comparto nada que sea interesante, ya que he visto artículos en hive de excelente calidad. Una gran comunidad en línea que cada día está mejorando y aproximante se lanzara la versión candidata del HF26. Espero que esto sea muy positivo para toda la comunidad. Bueno, no me quiero desviar más.

Me cuentas en los comentarios que te pareció la visita a este sitio. Si no, estamos pendiente para la próxima entrega. Gracias a ti por tu tiempo. Hasta pronto.

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

Hello reader, I'm here again. I hope you liked my posts. This time I want to show you another website called mintme, This is nothing more than a blog- well, I see it that way-, where its authors share different opinions about relevant topics of the Internet blockchain community. You can visit them, maybe you will like them or you will find a debatable opinion about regulatory aspects, social and economic impacts generated by the emergence of cryptocurrencies. Maybe it serves you as a method to reflect a little. But well, that's up to each one of us.

I feel that this time I do not share anything interesting, since I have seen articles in hive of excellent quality. A great online community that is improving every day and soon the HF26 release candidate will be launched. I hope this will be very positive for the whole community. Well, I don't want to go any further.

Let me know in the comments what you thought of your visit to this site. If not, we'll keep an eye out for the next installment. Thanks to you for your time. See you soon.

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

import asyncio
import aiohttp
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'}

async def parsing_page():

async with aiohttp.ClientSession() as session:

    for idx in range(1,6): 
        
        async with session.get(f'https://www.mintme.com/news?page={idx}',headers=headers) as page:
            
            mintme=await page.text() 
            mintme_html_page=HTMLParser(mintme)
             
            for get_hl in mintme_html_page.css('h2 > a'):

                headlines=get_hl.text(strip=True)
                links=get_hl.attributes['href']

                print(f'headlines: {headlines} links: {links}')

asyncio.run(parsing_page())

result.png


Text translated by DeepL



0 comments