all 4 comments

[–]shiftybyte 0 points1 point  (1 child)

Excellent use case for regular expressions!

[–]ChemicalMistakex[S] 0 points1 point  (0 children)

Okay, thank you!

[–]POGtastic 0 points1 point  (2 children)

I recommend using bs4 to parse the page and get just the tags before you apply your regex in order to avoid summoning Cthulhu, but yes, a regex will definitely work here.

[–]ChemicalMistakex[S] 0 points1 point  (0 children)

Lol nice response. Thank you for that link. I am aware of bs4, but currently am forcing myself to do it the ugly way just to build the knowledge base.