I am about to finish my script that parses/scrapes website using mechanize&ruby.
I need to port my script to PHP in the future.
My question is
- if there is any library available for both ruby and php or
- if anybody can recommend any other approach to this?