altschule
Regular Member
- Sep 1, 2010
- 282
- 186
I have a few years of PHP experience under my belt, but I don't have a lot of experience with doing this exact type of work. I don't need hand holding, merely suggestions on what would be the best way to go about this. I know I'm going to need some regex's, which I'm horrible at. If anyones got any example source code it'd be awesome.
Basically, for personal use, I'm wanting to take a page and import it using curl, or whatever and find all the links, which i'm going to analyze, find out which ones are the ones that i want, then i'm wanting to import those pages one by one and scrape a certain area of text in between a certain < div > area and then i'll save it to the database.
The analyzing, and saving to database and whatnot I can handle no problem, but can you fellas help me out with how I should import the pages using CURL and how I could find the certain blocks of text that I need using regex's? Thanks in advance.
Basically, for personal use, I'm wanting to take a page and import it using curl, or whatever and find all the links, which i'm going to analyze, find out which ones are the ones that i want, then i'm wanting to import those pages one by one and scrape a certain area of text in between a certain < div > area and then i'll save it to the database.
The analyzing, and saving to database and whatnot I can handle no problem, but can you fellas help me out with how I should import the pages using CURL and how I could find the certain blocks of text that I need using regex's? Thanks in advance.