Un saludo lector de mi blog. Hoy traigo para ti un nuevo script en Python que puedas usar el sitio web. Un sitio web muy popular que comparte información sobre programación y con información me refiero sobre tutoriales, guías, cursos al que puedes acceder de forma gratuita(también hay de pagos) para qué aprendes o mejores tus habilidades como programador con excelente contenido detallado y comprensible para los lectores, enfocándose en los marcos de desarrollo más demandados en la industria como React y Laravel.
Tengo muy poco que opinar sobre este sitio web, realmente he aprendido por mi propia cuenta leyendo las documentaciones y consultas en foros sin recurrir a cursos. Me ha resultado factible indagar para aprender por mis propios medios. Pero sé que es importante recibir orientaciones de expertos que puedan realizar importantes contribuciones en la formación del aprendizaje y desarrollo de habilidades.
Aquí culmino esta brevísima entrega, si te gusto puedes dejar tus comentarios y estaré atento en responderte. Espero volverte a encontrar por aquí.
Este script fue ejecutado con Python 3.9.13 en el sistema operativo Windows 10.
Greetings reader of my blog. Today I bring for you a new Python script that you can use the website. A very popular website that shares information about programming and with information I mean tutorials, guides, courses that you can access for free (there are also paid ones) to learn or improve your skills as a programmer with excellent detailed and understandable content for readers, focusing on the most demanded development frameworks in the industry such as React and Laravel.
I have very little to say about this website, I have really learned on my own by reading the documentations and forum queries without resorting to courses. I have found it feasible to dig in to learn on my own. But I know it is important to receive guidance from experts who can make important contributions to learning and skill development.
Here I end this very brief delivery, if you like it you can leave your comments and I will be attentive to answer you. I hope to meet you here again.
This script was run with Python 3.9.13 on Windows 10 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,6):
client=httpx.Client() codetutsplus=client.get(f'https://code.tutsplus.com/tutorials?page={index}',headers=headers).text codetutsplus_html_page=HTMLParser(codetutsplus) for find_hl in codetutsplus_html_page.css('a.posts__post-title'): print(f"Titles: {find_hl.text(strip=True)},Links: {find_hl.attrs['href']}")