| """ |
| 🧪 Ejemplos de Uso y Testing - Web Scraper Ultra Robusto |
| Este archivo contiene ejemplos prácticos para probar la herramienta |
| """ |
|
|
| |
| 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/" |
| ] |
| } |
|
|
| |
| 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() |
|
|