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

avatar

Preview.png

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

Hola querido lector de mi blog. Hoy te presento otro sitio para ti, se trata de e-cryptonews en el que encontraras noticias sobre criptomonedas,metaverso, AI, fintech y otros temas relacionados con tecnología. Lo que me llamo la atención de este sitio web es que tiene un tópico sobre estafas, hackeos y vulnerabilidades detectadas en los proyectos presentes en el mercado de criptomonedas. Me ha gustado el diseño del sitio web, lo mismo puedo concluir sobre sus publicaciones que son resumidas y toman poco tiempo de lectura por la razón de que suelo estar ocupado. Entonces, un sitio web que adopta esos criterios con relación a sus publicaciones es para mí un alivio y no perderme de lo más nuevo en el ecosistema de las criptomonedas.

Bueno, aquí culmino esta brevísima entrega. Espero que te haya gustado. Puedes dejar comentarios. Hasta la próxima.

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

Hello dear reader of my blog. Today I present another site for you, it is e-cryptonews where you will find news about cryptocurrencies, metaverse, AI, fintech and other topics related to technology. What caught my attention of this website is that it has a topic about scams, hacks and vulnerabilities detected in the projects present in the cryptocurrency market. I liked the design of the website, the same I can conclude about its publications that are summarized and take little time to read for the reason that I am usually busy. So, a website that adopts these criteria in relation to its publications is for me a relief and not to miss the latest in the cryptocurrency ecosystem.

Well, here I end this very short installment. I hope you liked it. Feel free to leave comments. See you next time.

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 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0'}

urls=['https://e-cryptonews.com/category/altcoin-news/',
'https://e-cryptonews.com/category/blockchain-news/',
'https://e-cryptonews.com/category/tech-news/',
'https://e-cryptonews.com/category/artificial-intelligence/',
'https://e-cryptonews.com/category/decentralizied-finance/',
'https://e-cryptonews.com/category/metaverse/']

urls_list=[urls_list for urls_list in urls]

for links in urls_list:

    client=httpx.Client()
    e_cryptonews=client.get(url=links,headers=headers).text
    e_cryptonews_page=HTMLParser(e_cryptonews)
    

    for hl in e_cryptonews_page.css('h3 > a'):
    
            l=hl.attributes['href']
            h=hl.text(strip=True)

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

result.png


Text translated by DeepL



1 comments
avatar

Congratulations @pynomiems! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

You have been a buzzy bee and published a post every day of the week.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

Our Hive Power Delegations to the September PUM Winners
Support the HiveBuzz project. Vote for our proposal!
0
0
0.000