Comments (3)
Seems to be a Python 3.3 issue we don't reproduce with 3.1 or 3.2
from faup.
In python 3.2 we have a another error :
Traceback (most recent call last):
File "test.py", line 11, in
data = f.get()
File "/Documents/python/workspace/Faup/faup/src/lib/bindings/python/pyfaup/faup.py", line 145, in get
retval["subdomain"] = self.get_subdomain()
File "Documents/python/workspace/Faup/faup/src/lib/bindings/python/pyfaup/faup.py", line 61, in get_subdomain
self.tldex._extract(self.get_host())
File "/Documents/python/workspace/Faup/faup/src/lib/bindings/python/pyfaup/tldextract.py", line 94, in _extract
registered_domain, tld = self._get_tld_extractor().extract(host)
File "/Documents/python/workspace/Faup/faup/src/lib/bindings/python/pyfaup/tldextract.py", line 121, in _get_tld_extractor
tlds = frozenset(binascii.a2b_qp(tld) for tld_source in tld_sources for tld in tld_source())
File "/Documents/python/workspace/Faup/faup/src/lib/bindings/python/pyfaup/tldextract.py", line 121, in
tlds = frozenset(binascii.a2b_qp(tld) for tld_source in tld_sources for tld in tld_source())
TypeError: 'str' does not support the buffer interface
from faup.
Fixed. That was not easy. Sebdraven has done an amazing job there!
from faup.
Related Issues (20)
- Fails to extract domain in many cases HOT 1
- pyFaup ModuleNotFound error returning? HOT 1
- ipv4 classification issues
- ipv6 classification issues
- faup crash at tld-tree.c:295 HOT 2
- No support for IDN ? HOT 1
- Missing ',' in stricaud/faup/src/lib/bindings/python/setup.py in latest release HOT 1
- Issue with pre-compiled libfaupl.so HOT 1
- As a faup user, I would like to be able to recognize and extract URLs from freetext HOT 1
- Windows build instructions HOT 2
- Tld extraction issue HOT 1
- Financially support/sponsor?
- New release? HOT 1
- ARM Support
- Valgrind error with some urls using the lib (tld-tree.c:295) HOT 5
- cmake fails HOT 7
- fatal error: miniz.h: No such file or directory HOT 8
- utf8 urls are not well managed in python binding
- Run from crontab HOT 6
- Disabling webserver from command line HOT 5
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 faup.