download page HTML changed, `kg download` not working
See original GitHub issueAssuming that I’m not completely confused, I think Kaggle just changed its HTML code and as a result, (at the very least) downloading datasets doesn’t work any more; for example, https://www.kaggle.com/c/the-nature-conservancy-fisheries-monitoring/data contains no data-files
div any more, leading to the stack trace
https://www.kaggle.com:443 "GET /account/login HTTP/1.1" 200 5203
https://www.kaggle.com:443 "POST /account/login HTTP/1.1" 302 133
https://www.kaggle.com:443 "GET /account/welcome HTTP/1.1" 302 118
https://www.kaggle.com:443 "GET / HTTP/1.1" 200 9978
https://www.kaggle.com:443 "GET /c/the-nature-conservancy-fisheries-monitoring/data HTTP/1.1" 200 25109
File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/kaggle_cli/download.py", line 30, in take_action
links = data_page.soup.find(id='data-files').find_all('a')
AttributeError: 'NoneType' object has no attribute 'find_all'
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:9 (5 by maintainers)
Top Results From Across the Web
html5 href download attribute not working with .pdf file
When I try downloading from the link in Safari 7.0.6 I get this message: "Forbidden. You don't have permission to access /splosion_CV.pdf on...
Read more >How to fix file getting download issue while opening website?
Today in this video you will learn how to fix file (application/x/httpd-php) getting download issue while opening website.
Read more >How to Download Files With JavaScript | by Stan Georgian
The first and the simplest method implies creating an anchor HTML element that has the download attribute. By definition, the download attribute ...
Read more >Create a Downloadable Link using HTML5 Download Attribute
The download attribute only works for same-originl URLs. So if the href is not the same origin as the site, it won't work....
Read more >Blackboard Learn - Apps on Google Play
Welcome to Blackboard's mobile solution. An app that helps you stay up-to-date with everything in your course. Students can: • View updates to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
PR is open: https://github.com/floydwch/kaggle-cli/pull/23
I had the same error. doing a pip install kaggle-cli --upgrade helped me resolve the problem. Just letting everyone else know.