2.0.1 and 2.0.2 crashes opening user_agents.json
See original GitHub issueThe pip installation does not ship user_agents.json
therefor, cfscrape (2.0.1
and 2.0.2
) crashes:
mkdir cfscrapetest
cd cfscrapetest/
pipenv --three
pipenv install cfscrape
pipenv run python
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cfscrape
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/user/.local/share/virtualenvs/cfscrapetest-uMJOQPOp/lib/python3.5/site-packages/cfscrape/__init__.py", line 22, in <module>
with open(USER_AGENTS_PATH) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.local/share/virtualenvs/cfscrapetest-uMJOQPOp/lib/python3.5/site-packages/cfscrape/user_agents.json'
>>>
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (4 by maintainers)
Top Results From Across the Web
rails g forest_liana:install crash · Issue #536 - GitHub
I actually tried a clean install with rails 6.1.4.4 and ruby 3.0.1 and I'm not able to reproduce your issue. Could you share...
Read more >React app crashes in IE11 - Stack Overflow
Remove transform-react-inline-elements from plugins list of babel-loader in webpack config file. This requires ES6 Symbol , but it is not ...
Read more >Changes — Werkzeug Documentation (2.2.x)
Type signature for get_json specifies that return type is not optional when silent=False . ... The user agent parser and the useragents module...
Read more >Release Notes — Airflow Documentation
Correct the JSON style used for Run config in Grid View (#27119) ... value for [webserver] worker_refresh_interval was 30 seconds for Airflow <=2.0.1....
Read more >WhatsNew 2.0 | Ktor Framework
Ktor Server I/O operation fails when more than 1 connection is opened by wrk benchmarking tool. https://youtrack.jetbrains.com/issue/KTOR- ...
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 Free
Top 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
This is fixed in the latest version. Please upgrade with
pip install -U cfscrape
.But, for reference, in future if anyone stumbles upon this area, please do refer to my comments above and the links and mentions by @pro-src