Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method to extract from a urllib.parse.{ParseResult,SplitResult} #274

Merged
merged 1 commit into from Oct 3, 2022

Conversation

john-kurkowski
Copy link
Owner

  • Add method extract_urllib
  • Add method extract_str, an alias for __call__
  • Move this library's lenient netloc extraction to its own function

The new method extract_urllib is like extract_str or __call__ but faster, as the string's domain name has already been parsed.

* Add method `extract_urllib`
* Add method `extract_str`, an alias for `__call__`
* Move this library's lenient netloc extraction to its own function
@john-kurkowski john-kurkowski mentioned this pull request Sep 20, 2022
@john-kurkowski john-kurkowski merged commit 3087963 into master Oct 3, 2022
@john-kurkowski john-kurkowski deleted the urllib-speedup branch October 3, 2022 18:17
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Nov 10, 2022
https://build.opensuse.org/request/show/1035015
by user mia + dimstar_suse
- Update to 3.4.0
Features
  * Add method extract_urllib to extract from a
    urllib.parse.{ParseResult,SplitResult}
    #gh/john-kurkowski/tldextract#274
Bugfixes
  * Fix internal type-var error, in newer versions of mypy
    #gh/john-kurkowski/tldextract#275
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant