Linked Questions
15 questions linked to/from Scrape web page contents
-5 votes
1 answer
451 views
Scraping a website with PHP [duplicate]
Possible Duplicate: Scrape web page contents How to scrape all content from a website? I'm trying to scrape some boxscore data from the site covers.com and for the life of me I can't figure out ...
0 votes
0 answers
44 views
PHP: Extract specific value from string [duplicate]
I succesfully read a specific webpage into a variable using: $content=file_get_contents('https://www.ip-tracker.org/locator/ip-lookup.php?ip=82.36.170.89'); I need to extract from this page the ...
0 votes
0 answers
31 views
PHP check value on external website? [duplicate]
I can't seem to figure out: How can I make my website look/check csgo.steamanalyst.com or steamcommunity.com/market market for Counter-Strike Global Offensive skin prices? I have made so people can ...
114 votes
2 answers
174k views
What's the best way of scraping data from a web site? [closed]
I need to extract contents from a web site, but the application doesn’t provide any application programming interface or another mechanism to access that data programmatically. I found a useful third-...
2 votes
3 answers
3k views
How to read a webpage in order to obtain its html content [closed]
I would like to get html contents in a webpage for processing. Then use those keywords in that webpage to be search on Google. Can you please tell me how can I get html code for the following example: ...
0 votes
2 answers
3k views
PHP Simple HTML DOM Scrape External URL
I'm trying to build a personal project of mine, however I'm a bit stuck when using the Simple HTML DOM class. What I'd like to do is scrape a website and retrieve all the content, and it's inner html,...
0 votes
5 answers
1k views
scrape the data from html page php
I need to scrape the data from an html page <div style="margin-top: 0px; padding-right: 5px;" class="lftFlt1"> <a href="" onclick="setList1(157204);return false;" class="contentSubHead"...
0 votes
1 answer
2k views
PHP html scraping
Its my first post on the site so bear with me Ok so i'm a complete beginner with PHP and I have a specific need for it for my project. I'm hoping some of you guys could help! Basically, I want to ...
-3 votes
1 answer
1k views
Scraping source code <script> tag from a web page
I'm looking for a way to scrape some source code. The information I need is inside a tag similar to this. <script> ....... var playerIdMap = {}; playerIdMap['4'] = '614'; playerIdMap['5'] = '...
0 votes
4 answers
946 views
Scraping a messy html website with PHP
I am in the following situation. I am trying to convert a messy scraped html code to a nice and neat xml structure. A partial HTML code of the scraped website: <p><span class='one'>week ...
1 vote
3 answers
468 views
Scrape desired data from html code using PHP
Below is the html code from which I want to fetch some data. <div class="NS_projects__stats"> <div class="digits_4" id="stats"> <div class="row"> <div ...
-1 votes
1 answer
429 views
PHP file_get_contents optimization
I use simple file_get_contents feature to grab data from other site and place it on mine. <?php $mic1link = "https://example.com/yyy.html"; $mic2link = "https://example.com/zzz.html"; ...
1 vote
1 answer
298 views
Stuck on CORS Problems
I've looked at so many StackOverflow questions about the 'Access-Control-Allow-Origin' problem that occurs when requesting 'GET' in AJAX. I'm deployed a simple static application to Heroku by ...
0 votes
1 answer
184 views
How can I read an html page and convert its content to xml to read the content?
I have a link to html page - a blog page - and I want to read its content from php laravel code and extract some data fields from there. The pages would be like this one: https://www.mashvisor.com/...
0 votes
1 answer
67 views
Scraping html using Domdoc + PHP
I would like to scrape the following HTML <div class="venue-event-list " rel="GB"> <div class="tracks-list"> <div class="single-track"> <...