@ptt-bds Bác có 10 luồng thì đầu tiên nếu không có gì xảy ra nó sẽ lấy 10 dòng đầu tiên, sau đó thì cứ luồng nào "ra đi" nó sẽ lấy dòng tiếp theo, đâu có theo quy luật như 1,11,21,31 vs luồng 1 như bác nói đâu.
How can i scrape this data?
-
Hello,
can somebody help.. i am trying to scrape some data that is over a few lines i want the data to be just on one line and then save it. i think i need to use a Regex?here is an example
<span class="txtSize2">football</span>
</td>
<td width='2'>
<span>: </span>
</td>
<td>
<span class="txtSize2">
THE FOOTBALL TEAM
IS NUMBER.2
</span>The data i am looking to scrape into one line is
THE FOOTBALL TEAM
IS NUMBER.2thanks for any help provided.
-
You can use javaScript in BAS and it is much easier than xPath or Regex.
Here is how you can get it:
var elements = document.getElementsByClassName("txtSize2"); console.log(elements[X].innerText); //Where X is the id of the right element in array