Hola lector. Si eres diseñador web esta publicación es para ti. El sitio que te presento se llama webflow. Webflow es una empresa que ofrece servicios para la creación de sitios web, es un CMS similar a WordPress. Realmente no sé cuáles sean todas las ventajas de usar este CSM con relación a WordPress. Pero si puedo indicar que requiere conocimientos en programación para realizar mayor personalización lo que no limita tu creatividad en el momento de crear tu sitio. Sería genial poder usarlo y compartir la experiencia de diseño en mi blog, pero por ahora no puedo. Así que lo anexaré para un después cuando tenga la posibilidad de hacer un diseño.
Aquí solo traigo para ti un script en Python que solo accede al blog con propósito de que obtengas los títulos y enlaces sobre guías, tendencias, libros y trucos que quizás sean útiles para mejorar tus diseños.
Espero que esta pequeña entrega te haya gustado. Puedes dejar comentarios. Gracias por tu tiempo.
Este script fue ejecutado con Python 3.9.13 en el sistema operativo Lubuntu 18.04.6.
Hello reader. If you are a web designer this post is for you. The site I present to you is called webflow. Webflow is a company that offers services for the creation of websites, it is a CMS similar to WordPress. I really don't know what are all the advantages of using this CSM in relation to WordPress. But I can indicate that it requires programming knowledge to perform more customization which does not limit your creativity when creating your site. It would be great to use it and share the design experience on my blog, but for now I can not. So I will attach it for later when I have the possibility to make a design.
Here I just bring for you a Python script that only accesses the blog with the purpose of getting the titles and links about guides, trends, books and tricks that might be useful to improve your designs.
I hope you liked this little installment. Feel free to leave comments. Thanks for your time.
This script was run with Python 3.9.13 on Lubuntu 18.04.6 operating system.
import asyncio
import aiohttp
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'}
async def parsing_page():
async with aiohttp.ClientSession() as session: for index_pages in range(1,6): async with session.get(f'https://webflow.com/blog-pages/new?4a3ed04e_page={index_pages}',headers=headers) as page: webflow=await page.text() webflow_raw=HTMLParser(webflow) for h,l in zip(webflow_raw.css('div > a > h3'),webflow_raw.css('div.blog-card > a')): headlines=h.text(strip=True) links=l.attributes['href'] print(f'headlines: {headlines} links: {links}')asyncio.run(parsing_page())