WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: WP Web Scraper] feature suggestions (7 posts)

  1. Ovidiu
    Member
    Posted 4 years ago #

    trying to get a table with soccer results from another page.
    problems:

    - images aren't fetched, I guess the guys have a protection against hotlinking. how about fetching and caching images?
    - some table cells have differently coloured backgrounds which are overridden by my wordpress theme. now if I insert a general css code like td { background-color: none;} they will lose even those.

    any solutions for these problems?

    http://wordpress.org/extend/plugins/wp-web-scrapper/

  2. Ovidiu
    Member
    Posted 4 years ago #

    it looks like the images I was talking about had a relative path. any fixes for those?

  3. Ovidiu
    Member
    Posted 4 years ago #

    or maybe the plugin could simply add the base url to relatively linked images although I'd prefer a cached solution as not to use the other site's bandwidth?

  4. Ovidiu
    Member
    Posted 4 years ago #

    tried replacing the relative link with the absolute but no results although I cleared the cache:

    [wpws url="http://www.realurl.com/esportes/classificacao/2009/brasileiraoseriea/" selector="#c1" replace="src="/" replace_text="src="http://www.realurl.com/esportes/classificacao/2009/brasileiraoseriea/" output="html" cache="1440" timeout="3"]

    what could be wrong?

  5. Akshay Raje
    Member
    Posted 4 years ago #

    @ Ovidiu

    Sorry for the delayed reply. There's a basehref param in the shortcode which can be used for this. Simply use:

    [wpws url="http://www.realurl.com/esportes/classificacao/2009/brasileiraoseriea/" selector="#c1" basehref="http://www.realurl.com/esportes/classificacao/2009/brasileiraoseriea/" output="html" cache="1440" timeout="3"]

    Just in case this does not work, drop a comment with the actual URL on the plugin page - http://webdlabs.com/projects/wp-web-scraper/

  6. Ovidiu
    Member
    Posted 4 years ago #

    worked perfectly :-) thanks a lot!

  7. rachelleh
    Member
    Posted 4 years ago #

    Hey did you have to set up some php before this would work? I tried the shortcode, but nothing shows up - I am a little confused as to how to proprely set this up.

    I'm trying to get data from http://allprosoftware.net/kmmfa

Topic Closed

This topic has been closed to new replies.

About this Topic