Protilipi Get Text Python

function get_text(){
  a=''
  b = document.querySelectorAll('#app > div:nth-child(2) > div.read-page.theme-white > div.book-content > div > div > div > div.content-section.p-lr-15 > div.font-16.lh-md > p > span > span')
  for (i=0;i<b.length;i++){

      a+=b[i].getAttribute('data-suggestions')
  }
 return a;
}
console.log(get_text())
Frail Frog