14.11. Code writing activity part 3¶
On this page, you will complete the final activity to write code that:
Scrapes all the comments on the Rate My Professor page for Prof. Ericson and Prof. Oney and prints them
Here is the link to Prof. Ericson's Rate My Professor page.
Here is the link to Prof. Oney's Rate My Professor page.
You can see that both the pages have the same layout.
The comments all have the same tag name, which is 'div'
tag with class='Comments__StyledComments-dzzyvm-0 dvnRbr'
. Here’s what it looks like when you inspect Prof. Ericson’s page:
Here is the code that you assembled from the plans. Now that you’ve assembled the correct plans, fill in the blanks to complete the code.
-
In solving the preceding problem I invested:
- 1. Very, very low mental effort
- 2. Very low mental effort
- 3. Low mental effort
- 4. Rather low mental effort
- 5. Neither low nor high mental effort
- 6. Rather high mental effort
- 7. High mental effort
- 8. Very high mental effort
- 9. Very, very high mental effort
You have attempted of activities on this page