Giter VIP home page Giter VIP logo

Comments (9)

sebastian-nagel avatar sebastian-nagel commented on June 3, 2024 1

Thanks. The number of crawled pages went significantly up after deploying the changed config (feed.sniffContent: true) and refetching all redirected seed feeds. Opened #14 and DigitalPebble/storm-crawler#386 to force a refetch of redirected seeds with low frequency (weekly or monthly).

from news-crawl.

jnioche avatar jnioche commented on June 3, 2024

Could simply rewrite the seed files for now or add a better auto detection

from news-crawl.

jnioche avatar jnioche commented on June 3, 2024

Improved detection in SC [master 1dd6b24] Feed bolt : detection based on content

from news-crawl.

sebastian-nagel avatar sebastian-nagel commented on June 3, 2024

Should also refetch the original seed in regular intervals, in case it redirects to dynamically changing URLs.

from news-crawl.

jnioche avatar jnioche commented on June 3, 2024

@sebastian-nagel could you give a few examples of redirs for which the auto detection doesn't work? Thanks

from news-crawl.

sebastian-nagel avatar sebastian-nagel commented on June 3, 2024

One example (the newspaper I daily get on paper): http://www.taz.de/rss.xml redirects to http://www.taz.de/!p4608;rss/ and the server sends Content-Type: text/xml;charset=utf-8 which makes the auto detection fail.
The auto detection is nice, esp. because it allows to identify additional seeds. But it may be not sufficient for certain cases, e.g., if a seed is redirected to a dynamic ephemeral URL: we then need to fetch and follow the redirected seed in regular intervals.
But I'll prepare a complete list of problematic seeds to see whether such cases exist.

from news-crawl.

jnioche avatar jnioche commented on June 3, 2024

The autodetection is not just based on the mimetype but also on the content and actually works with the URL above.

from news-crawl.

sebastian-nagel avatar sebastian-nagel commented on June 3, 2024

Ok, got it: the auto-detection wasn't enabled.

from news-crawl.

jnioche avatar jnioche commented on June 3, 2024

Closing as not a bug. It makes no sense to pass on the feedKV blindly to the redirection : it might be a feed too, or not but there is no guarantee of it.

from news-crawl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.