You should also include a test to see if contentLabel was returned at all. E.g. contentLabel is null for http://ntrs.nasa.gov/search.jsp? page, which should make the if-else below throw an error

`if(!contentLabel) return;` is sufficient