Comments (9)
@rgaudin @ikreymer I believe this topic to be touchy to discuss immediatly via Github. Please talk about it in the weekly meeting before commenting here.
from zimit.
Would be good to have a plan here.
from zimit.
Make sure we can still access those easily now that we've split the project into the crawler and this.
from zimit.
The data is accessible and can easily be exposed. Maybe easiest is to output stats to a JSON file, eg.
For example, zimfarm can add:
-v ./job-stats-{id}.json:/output/stats.json
and the crawler can periodically write stats to /output/stats.json
Then, zimfarm can simply display the contents.
from zimit.
@rgaudin @ikreymer AFAIK this is the last ticket to implement to finish the work at the spider level. Would you be able please to secure this ticket is implemented and closed properly soon?
from zimit.
OK, as discussed, I think we can go with a JSON file for tracking the progress. We're discussing this here but this is mostly about modifying the browsertrix crawler
We can start with a very simple format:
{
"total": 832,
"progress": 43
}
Total would be the found number of links (crawler's items to process) and progress would be the number of those already crawled.
This could be called crawl-progress.json
and be placed on the output folder that was requested (so /output/crawl-progress.json
in the zimfarm).
I think it might be good to enable that via some option (that we'd set on zimit). Possibly, we could pass it the expected path.
Next, we'll do something similar with warc2zim and figure out how we'll expose it in zimit but what we need your help we @ikreymer is the crawler part.
from zimit.
Sounds good. At the browsertrix level, I think it would be an option like: --statsOutput /output/crawl-progress.json
.
Can just pass that through from zimit.
from zimit.
👍
from zimit.
@ikreymer Hi, any news on this? The feature is need next week to be able to have the progress bar within the Zimit public frontent.
from zimit.
Related Issues (20)
- Crawling issue on courses.lumenlearning.com_en_all HOT 6
- Upgrade to browsertrix 0.12.4 and warc2zim 1.5.5
- Release 1.6.3
- Adopt Python bootstrap
- Add support for `--logging` parameter of browsertrix crawler
- Pass scraper parameter to warc2zim HOT 1
- Remove cookie banners HOT 1
- Add parameter to exclude certain resources
- tvtropes is failing HOT 3
- TV Tropes 403 errors HOT 3
- Invalid leading whitespace in header HOT 1
- URL is different in error message HOT 2
- solar.lowtechmagazine.com is very unstable HOT 4
- Upgrade to browsertrix crawler 1.0.0 beta HOT 7
- Enhance integration test to assert final content of the ZIM
- Add support for downloading the browser profile from a URL
- networkidle is no longer a valid waitUntil HOT 7
- Browsertrix Crawler is stopping on disk full while it is not full HOT 2
- Zimit2: Youtube videos are not working everywhere HOT 8
- --exclude question HOT 4
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 zimit.