Comments (5)
Thank you for reporting this! I'll look into it. It certainly seems like you're doing everything correctly.
from cjworkbench.
I duplicated the workflow and clicked "Scrape" three times. The second and third times, there was no data -- most statuses were Can't connect: None
. But the first time, half the statuses were 200 OK
.
I strongly suspect the IOM servers are treating these requests as nefarious and dropping them.
We at Workbench now have an ethical dilemma: should we help our users circumvent IOM's servers' restrictions? We'll have to discuss this and follow up in this issue.
In the meantime: I infer that this is a low-traffic page (maybe 1 update per day). That being the case, this workaround may be a manageable way of getting this data into Workbench:
- In a tab, scrape the single URL "https://migration.iom.int/covid19reports" and have it alert you when new data appears. (My tests suggest scraping the single URL should work, if it's scraped rarely enough.)
- Whenever Workbench emails you that the page has changed, visit it and add the new rows to a Google Sheet.
- In a separate tab, import from the Google Sheet.
from cjworkbench.
Thank you @adamhooper for detailed analysis and workaround.. Am going to close this bug, as it more an issue with filtering on third-party servers.
from cjworkbench.
After discussing as a team, we've decided not to wrestle with uncooperative web servers for the time being.
Also, while want to produce a more-helpful error message, that would have a high cost and a high rate of misleading error messages. (This error in particular, None
, could be one of a thousand different problems. So if we were to report "you're breaking the site's terms of service," we'd be wrong 99.9% of the time.)
from cjworkbench.
Thanks @adamhooper
from cjworkbench.
Related Issues (20)
- Resources Broken Link: "Resources and inspiration to do more"
- Add link 'Help' in UI
- Request to include Geopandas HOT 3
- Request for group collobration through 'team/organization/group' namespace HOT 2
- Question about Global Export HOT 5
- Track Changes with version history HOT 2
- Warning Dialog while deleting Tabs HOT 2
- Support accessing private APIs HOT 1
- HTTP 503 when downloading CSVs
- 64-bit integers are rounded before displaying
- docker frontend: No module named httpprocessproxy HOT 2
- Custom resource urls for workbench instance on local network HOT 6
- Suggested system resources HOT 7
- Changing processing limits for local instance HOT 1
- Creating a user when using a docker image HOT 9
- Docker Image HOT 5
- Missing functions HOT 1
- `bin/dev start` error prevents server from starting HOT 4
- Uploader and paste functions not working HOT 2
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 cjworkbench.