enmafia2 Wrote: Would you make me a website for free?
No.
02-06-2016, 07:48 PM
Dillan Wrote: Make a good ass game bro!
I'm making one in JS.
02-06-2016, 07:22 PM
Sozin Wrote: Code a 2D Game Engine in C++ (Should have: Audio, Input, Graphics, atleast. )
PHP -> Make a PHP library that offers tools to Scrape (Leech) web content. Like If I wanted to copy all content from a wordpress blog, I should just be able to it simple by: [pre] $blog = $library->get('blogurl'); $links = $blog->getLinks(); $links = $library->match( 'some pattern I want to match in links... possible a regex, idk' ); // Gives me all links that match my pattern output($links);
foreach($links AS $link) { $page = $library->get($link); $content = $page->getContentInsideTagWithClass('classname'); // Gets me content inside <div class="classname"></div> on the page. output($content); // That's what I needed! } [/pre]
I made a website scraper already, it was pretty ugly though. I'm going to rewrite it with OOP and make it alot better, thx for the idea.