Comments (6)
wpull 2.0.3 works fine under Python 3.6 and breaks under 3.7 for unrelated reasons.
Python 2 is deader than dead, and wpull hasn't supported it since 2014.
The crash you reported is real though. Python moved the ABCs to collections.abc
back in Python 3.3, and the aliases in collections
were removed in 3.10.
from wpull.
I think wpull supports python 3.5 max.
from wpull.
did not work with 3.5 nor 2.7
from wpull.
What do you mean by "did not work"? You have to install the dependencies again if you're changing python versions.
from wpull.
On 3.6 I get:
Traceback (most recent call last):
File "/usr/local/bin/wpull", line 5, in <module>
from wpull.application.main import main
File "/usr/local/lib/python3.6/site-packages/wpull/application/main.py", line 4, in <module>
from wpull.application.builder import Builder
File "/usr/local/lib/python3.6/site-packages/wpull/application/builder.py", line 12, in <module>
from wpull.application.tasks.download import ProcessTask, ParserSetupTask, ClientSetupTask, ProcessorSetupTask, \
File "/usr/local/lib/python3.6/site-packages/wpull/application/tasks/download.py", line 10, in <module>
from wpull.processor.coprocessor.phantomjs import PhantomJSParams
File "/usr/local/lib/python3.6/site-packages/wpull/processor/coprocessor/phantomjs.py", line 22, in <module>
from wpull.processor.rule import ProcessingRule
File "/usr/local/lib/python3.6/site-packages/wpull/processor/rule.py", line 21, in <module>
from wpull.protocol.http.robots import RobotsTxtChecker
File "/usr/local/lib/python3.6/site-packages/wpull/protocol/http/robots.py", line 14, in <module>
from wpull.protocol.http.web import WebClient
File "/usr/local/lib/python3.6/site-packages/wpull/protocol/http/web.py", line 13, in <module>
from wpull.protocol.http.client import Client
File "/usr/local/lib/python3.6/site-packages/wpull/protocol/http/client.py", line 14, in <module>
from wpull.protocol.abstract.client import BaseClient, BaseSession, DurationTimeout
File "/usr/local/lib/python3.6/site-packages/wpull/protocol/abstract/client.py", line 12, in <module>
from wpull.network.pool import ConnectionPool
File "/usr/local/lib/python3.6/site-packages/wpull/network/pool.py", line 10, in <module>
from wpull.network.connection import Connection, SSLConnection
File "/usr/local/lib/python3.6/site-packages/wpull/network/connection.py", line 13, in <module>
from tornado.netutil import SSLCertificateError
ImportError: cannot import name 'SSLCertificateError'
Generated with a Dockerfile for python:3.6
FROM python:3.6
WORKDIR /data
RUN pip install --no-cache-dir -U wpull
ENTRYPOINT ["wpull"]
from wpull.
@kelvinhammond That's a separate issue already filed here: #384
from wpull.
Related Issues (20)
- ValueError: Field missing colon.
- Abort downloads when reaching the --monitor-disk limit
- Writing output to stdout (--output-document -) crashes with a TypeError
- LinkInfo/LinkContext's linked and inline fields for HTML-extracted URLs are not always bools
- NUL byte in <link> href confuses libxml2-lxml parser
- HTML in JavaScript leads to undecoded character references in URLs
- resolve_dns hook lacks information on IPv4/IPv6 preference and can't return more than one result
- OSError when the cookie jar gets cleared
- SQLAlchemy 1.4 incompatibility: `sqlalchemy.orm.evaluator.UnevaluatableError: Cannot evaluate Select`
- FTP login information in URLs is lost
- Handle `Refresh` header as a redirect
- Support for server-side image maps
- Migrate test suite to Drone HOT 1
- Always send the `Host` header first HOT 1
- Equivalent but differently encoded URLs break no-parent recursion
- FTP processor may start retrieval before logging the `Fetching` message
- ValueError: IPv6 addresses are 16 bytes long HOT 6
- url containing & character getting split HOT 3
- Remove Tornado dependency HOT 1
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 wpull.