scraperwiki / code-scraper-in-browser-tool

Just like on ScraperWiki Classic; now a part of QuickCode.
https://quickcode.io
Other
38 stars 8 forks source link

simple_html_dom.php #51

Closed michalskop closed 11 years ago

michalskop commented 11 years ago

simple_html_dom.php is missing (or it is at different location, ...)

line require 'scraperwiki/simple_html_dom.php'; ends with PHP Fatal error: require(): Failed opening required 'simple_html_dom.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/code/scraper on line 7

https://x.scraperwiki.com/dataset/gk4vsnq/settings

frabcus commented 11 years ago

There were a couple of libraries like this on ScraperWiki Classic. I've bundled them together here:

https://github.com/scraperwiki/scraperwiki-php

And added them to the environment. Anything else we come across that isn't in PEAR or PECL can go in there too.

For example I just added RedBean (rb.php) which looks like a really good ORM.

Thanks Michal - keep reporting bugs, it is much appreciated.

frabcus commented 11 years ago

Just to add, you're encouraged to write this now:

require 'simple_html_dom.php';

I left a symlink in so the scraperwiki/ form still works for backwards compatbility - it's a bit silly though, as it isn't anything to do with scraperwiki, hence the default now being as above.