This is a repo with the practices of Beautifulsoup. Note that there's no single solution for each of those challenges and the python files in all these challenges are just examples to solve the problem. Feel free to use any other methods to solve the problem.
For further information, please refer to the documentation of the beautifulsoup.
Challenge | Goal |
---|---|
01 | get title |
02 | get titles |
03 | get paragraphs |
04 | count # of the titles and paragraphs |
05 | count words in a specific tag |
06 | get texts of an online webpage |
07 | get all tags |
08 | get child tags in a specific tag |
09 | get texts of a specific tag |
10 | get texts by class |
11 | get texts by id |
12 | formatiing a html code |
13 | get texts by the path of its tag |
14 | get images |
15 | get table |