'Checking if the part of the web page is UP using python

Without using any major fancy libs, is it possible to check if a certain section of webpage is loaded properly or not ? Think of it as google.com loading without search box, so std HTTP checks would return success,but would never check that search box.

I hv got a webpage that has a smaller subset that I think is json or some fancy css embedded in the html page.

On top of my head thinking maybe len(word) count , say if >1000 then page has loaded or some nonsense, talking out loud to myself Any help is appreciated. Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source