title: Is there any way to get data from an javascript in html with python
body: <p>This is the html script I get when I use requests.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function(){
          data = [{"str":"안녕하세요+저는+예상우+입니다","errInfo":[{"help":"입력 오류입니다.","errorIdx":0,"correctMethod":1,"start":9,"end":12,"orgStr":"예상우","candWord":"예상외"}],"idx":0}];
          pageIdx = 0;
          /*&lt;![CDATA[*/
          if(1){
                  totalPageCnt = 1;
          }
          /*]]&gt;*/
          data = eval(data);
  
          makeHTML(0);
  
          if(totalPageCnt != 1){
                  if(pageIdx == 0){
                          toast("총 " +totalPageCnt+"페이지입니다. 아래 화살표를 이용해 이동해주세요.");
                  }
  
                  document.getElementById('pageAnnounce').innerHTML = "총 " +totalPageCnt+"페이지 중 " + (pageIdx+1) +"페이지입니다.&lt;br&gt;화살표를 눌러 페이지를 이동해주세요.";
          }
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>I want to get <code>str</code>,<code>help</code>,<code>errorIdx</code>,<code>correctMethod</code>,<code>start</code>,<code>end</code>,<code>orgStr</code>,<code>candWord</code>from this javascript with python. How can I do this?</p>