File size: 1,171 Bytes
dff33ce | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | """
🧪 Ejemplos de Uso y Testing - Web Scraper Ultra Robusto
Este archivo contiene ejemplos prácticos para probar la herramienta
"""
# Ejemplos de URLs para testing completo
URLS_TEST = {
"basicas": [
"https://example.com",
"httpbin.org/html",
"github.com/microsoft",
"stackoverflow.com/questions"
],
"con_mayusculas": [
"Https://Example.COM",
"HTTP://HTTPBIN.ORG/html",
"GITHUB.com/Microsoft",
"WWW.STACKOVERFLOW.COM"
],
"complejas": [
"https://docs.python.org/3/",
"https://playwright.dev/docs/",
"https://gradio.app/docs/",
"https://huggingface.co/docs"
],
"con_javascript": [
"https://httpbin.org/",
"https://jsonplaceholder.typicode.com/",
"https://reqres.in/",
"https://httpstat.us/"
]
}
# Función de testing completo
def run_full_test():
"""Ejecuta testing completo de la aplicación"""
print("🚀 INICIANDO TESTING COMPLETO")
print("=" * 50)
print("\n✅ TESTING COMPLETADO")
print("La aplicación está lista para usar!")
if __name__ == "__main__":
run_full_test()
|