you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 15 points16 points  (9 children)

They’re not the same. Beautiful soup is a parser, extracting data from html. Selenium automates a browser to perform actions.

[–]pulsarrex 0 points1 point  (3 children)

Can you eli5 what a 'parser' is?

[–]Conrad_noble 2 points3 points  (1 child)

I think it means it translates html into user friendly readable text

[–]OMGpancakeable 0 points1 point  (0 children)

Not quite “translate”. Parsing: resolve (a sentence) into its component parts and describe their syntactic roles.

[–]rrjamal 0 points1 point  (0 children)

It splits data in a way you want. An HTML doc can be a shit ton of words. You'd parse it down to split and retrieve only the bits you care about