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

avatar

Preview.png

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

Hola lector. Tambien me gusta un poco la arquitectura. Tengo un amigo que esta se dedica a la arquitectura y suelo pasar acerca de su lugar trabajo para charlar sobre arquitectura. Es un duro, su familia ha realizado muchas construcciones en mi localidad y han dado resultados positivos . Bueno, no me desvío más del tema.

Esta página tiene por nombre archdaily y básicamente se ha encargado de reunir proyectos que provienen de arquitectos o ingenieros que expresan su talento y habilidades creativos al mundo con la posibilidad de apreciar una diversidad de diseños y observar uso de materiales que hicieron posible la edificaciones.

A veces visito sitios como este para entretenerme y observar con detenimiento un sin número de detalles que imprimen en mí la sensación de deleite y calma. Si, definitivamente me gusta mucho ver imágenes y explicaciones sobre arquitectura. Me gustaría que compartirías sitios como este, tal vez puede elaborar un script de Python y sumarlo a mi repertorio de sitios para observarlas en horas de descanso.

Gracias por venir hasta acá y dedicar parte de tu tiempo. Espero que te haya gustado. No olvide dejar comentarios. Adiós.

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

Hello reader. I also like architecture a little bit. I have a friend who is in architecture and I usually stop by his place of work to chat about architecture. He's a tough guy, his family has done a lot of construction in my area and it has yielded positive results. Well, I won't digress any further.

This site is called archdaily and basically it has been in charge of gathering projects that come from architects or engineers that express their talent and creative skills to the world with the possibility of appreciating a diversity of designs and observe the use of materials that made the buildings possible.

Sometimes I visit sites like this one to entertain myself and carefully observe a number of details that imprint in me a sense of delight and calm. Yes, I definitely like to see images and explanations about architecture. I wish you would share sites like this, maybe I can make a Python script and add it to my repertoire of sites to look at during my off hours.

Thanks for coming here and dedicating some of your time. I hope you liked it. Don't forget to leave comments. Good bye.

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,5):

client=httpx.Client()
archdaily=client.get(f'https://www.archdaily.com/architecture-news/page/{index}',headers=headers).text
archdaily_raw=HTMLParser(archdaily)

for hl in archdaily_raw.css('h3 > a'):
    
    print(f"Titles: {hl.text()},Links: {hl.attrs['href']}")   

result.png


Text translated by DeepL



0 comments