masterjake
New Member
- Messages
- 73
- Reaction score
- 0
- Points
- 0
My friend wanted me to create a script to scrape his Xbox gamertag and total XP from a page that it's stored and automatically updated on. I barely even know how xpath works.
Can someone tell me how I would do this.
There's a ton of tags but the actual data I need to retrieve on the page is located in a set like this:
I have deleted all data out of the tags and put a "NEED TO RIP THIS" statement in the 2 spots that I need to scrape the data from. Can someone help me?
Can someone tell me how I would do this.
There's a ton of tags but the actual data I need to retrieve on the page is located in a set like this:
Code:
<div class="user">
<h3>
NEED TO RIP THIS
</h3>
<div class="userpic">
</div>
<div class="userinfo">
<dl>
<dt></dt>
<dd>NEED TO RIP THIS</dd><!-- TotalRank -->
</dl>
<dl>
<dt></dt>
<dd></dd>
</dl>
<dl>
<dt></dt>
<dd></dd>
</dl>
<dl>
<dt></dt>
<dd></dd>
</dl>
<dl>
<dt/>
<dd>
</dd>
</dl>
</div>
</div>
I have deleted all data out of the tags and put a "NEED TO RIP THIS" statement in the 2 spots that I need to scrape the data from. Can someone help me?
Last edited: