I am trying to scrape some data from webpage and everything works fine. However, sometimes when I scrape with tr_elements = doc.xpath(\'/html/body/div/div[1]/table[1]/
tr_elements = doc.xpath(\'/html/body/div/div[1]/table[1]/