Comments (9)
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.
Could simply rewrite the seed files for now or add a better auto detection
from news-crawl.
Improved detection in SC [master 1dd6b24] Feed bolt : detection based on content
from news-crawl.
Should also refetch the original seed in regular intervals, in case it redirects to dynamically changing URLs.
from news-crawl.
@sebastian-nagel could you give a few examples of redirs for which the auto detection doesn't work? Thanks
from news-crawl.
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.
The autodetection is not just based on the mimetype but also on the content and actually works with the URL above.
from news-crawl.
Ok, got it: the auto-detection wasn't enabled.
from news-crawl.
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)
- Endless refetch of URLs due to changing domain names HOT 2
- WARC file format fix: add WARC-IP-Address HOT 1
- WARC file format fix: mask HTTP header fields Content-Encoding and Transfer-Encoding, adjust Content-Length HOT 1
- WARC file format improvement: add WARC-Truncated header HOT 1
- Check cross-submits for sitemaps HOT 1
- Add HTTP protocol version to HTTP request message HOT 1
- NewsSiteMapParserBolt: do not detect feeds as sitemaps
- unable to fetch data from elasticsearch , no content is showing HOT 2
- Automatic removal of ephemeral sitemaps
- Allow to follow news sites not providing RSS/Atom feed or news sitemap HOT 2
- Do not use "http/2" protocol version in HTTP headers in WARC files HOT 1
- Error in build docker HOT 3
- Odd duplicate content behaviour on www.diariodeavila.es domain HOT 4
- How to get a listing of WARC/WAT/WET files using HTTP for News Dataset ? HOT 2
- News archive is not available since 06.06.2021 HOT 3
- Run docker in a non-interactively way HOT 1
- How large is the dataset HOT 2
- Use wikidata to complete seeds HOT 1
- Explore schema.org annotations for seed completions
- Consider archiving of news feeds and sitemaps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from news-crawl.