[ESP-ENG] Titulos y enlaces en twis || Titles and links in twis
Hola lector de mi blog en esta oportunidad te presento el sitio web twis, un sitio en el que semanalmente sus autores publican contenido sobre ciencias. Si, ciencia. Eso sí, la mayoría de sus publicaciones son podcast donde entrevistan a diferentes expertos con diferentes especialidades o áreas temáticas como son la biología, física, astronomía y muchas más.
Ojalá puedas ingresar a este sitio y darme tu opinión al respecto. Estaré atento en atender los detalles de tu comentario. Gracias por tu visita. Hasta la próxima.
Este script fue ejecutado con Python 3.9.13 en el sistema operativo Lubuntu 18.04.6.
Hello reader of my blog in this opportunity I present you the website twis, a site in which weekly its authors publish content about science. Yes, science. Yes, most of their publications are podcasts where they interview different experts with different specialties or subject areas such as biology, physics, astronomy and many more.
I hope you can enter this site and give me your opinion about it. I will be attentive to the details of your comment. Thanks for your visit. 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 HTMLParserheaders={'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,5):
client=httpx.Client(headers=headers) twis=client.get(f'https://www.twis.org/page/{index}/').text twis_html=HTMLParser(twis) for hl in twis_html.css('.quick-read-more > a'): h=hl.text(strip=True) l=hl.attributes['href'] print(f'headlines: {h} links: {l}')
Congratulations @pynomiems! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):
Your next target is to reach 4000 upvotes.
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:
Support the HiveBuzz project. Vote for our proposal!