diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 8c8c303..0bc04d8 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,11 +2,13 @@ + - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -250,6 +291,7 @@ + @@ -265,18 +307,7 @@ - - - - - - - - - - - - + @@ -310,7 +341,6 @@ Comprar
También puedes buscar por característica, teléfono...

¿Eres el anunciante?

entra en tu cuenta de idealista Si quieres más información sobre el estado de tu anuncio,

+ """ html_normal = """ diff --git a/tests/scrapping_utils_tests.py b/tests/scrapping_utils_tests.py new file mode 100644 index 0000000..ad3aaab --- /dev/null +++ b/tests/scrapping_utils_tests.py @@ -0,0 +1,15 @@ +from core.scrapping_utils import * + + + +def UrlAttack_test(url): + + attack = UrlAttack(url) + + attack.attack() + + print(attack.get_status_code()) + print(attack.get_response()) + + +UrlAttack_test('https://www.idealista.com/inmueble/40402493/') \ No newline at end of file