Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Issues with re.search only returning the first IP in the table column. #320

Open
hfeixas opened this issue Mar 18, 2019 · 0 comments
Open

Comments

@hfeixas
Copy link

hfeixas commented Mar 18, 2019

Having issues with a website that displays their IP list with values in the same td (No idea why)
IE:

<tr>
<td align="center" colspan="1" rowspan="1">Website</td>
<td colspan="1" rowspan="1">192.168.1.1<br> 192.168.1.2</td>
</tr>

Minemeld Regex returns the first ip but not the second, looking through the source code, it looks like it is splitting the response in line and doing an re.search(line). What would be the implications of modifying to re.findall, or any suggestion is appreciated to catching the second address value in the td.

@hfeixas hfeixas changed the title Issues with re.search only returning the first IP in the page. Issues with re.search only returning the first IP in the table column. Mar 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant