Im trying to extract details from Cvedetails.com using some loop and regex and i need help with extracting the table data using regex
Asked
Active
Viewed 46 times
-3
Bogdan Doicin
- 2,252
- 5
- 26
- 31
Bryead
- 19
- 4
-
Possible duplicate of [Python regex - stripping out HTML tags and formatting characters from inner HTML](https://stackoverflow.com/questions/41064469/python-regex-stripping-out-html-tags-and-formatting-characters-from-inner-html) – rmutalik May 19 '19 at 10:50
-
1Regular expressions are not the way to deal with markup – Marcin Orlowski May 19 '19 at 10:52
-
Possible duplicate of [Parsing HTML using Python](https://stackoverflow.com/questions/11709079/parsing-html-using-python) – Bushuev May 19 '19 at 13:18
-
Please share your coding attempt – QHarr May 19 '19 at 15:01
1 Answers
0
Usually regex isn't the best way to go when dealing with HTML (or any other markup, for that matter).
Try taking a look in BeautifulSoup package for python
Zionsof
- 1,066
- 8
- 19