15,891,906 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by icemclean (Top 1 by date)
icemclean
8-Aug-12 17:01pm
View
Wouldn't it be less overhead to go with PHP? That's just my opinion :)
Firstly, you'd need to find the search URL of each site you wanted to get listings from and change the search string so you could retrieve the listings from that site. Then, you'd need to parse the resulting page and take the links.
Unless, of course, the site has an API that you can use.
Scraping like this is generally a bad idea because:
* You are using somebody else's bandwidth to execute the search, which the owner of the site will probably not be too pleased about if they found out.
* The layout of the search page could change at any time, rendering your script useless.
* The structure of the search string could change at any time, also rendering your script useless.
* There may also be legal issues regarding scraping someone else's site.