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 a list of URLs allowed to extract #125

Merged
merged 7 commits into from
May 17, 2022

Conversation

khoben
Copy link
Contributor

@khoben khoben commented Apr 29, 2022

text = "google.com twitter.com example.com example.com/test.html"
urlextract.permit_list = {"example.com"}
print(urlextract.find_urls(text)) # => ["example.com", "example.com/test.html"]

@khoben khoben changed the title Adding limited list of URLs to be extracted Add a list of URLs allowed to extract May 1, 2022
@lipoja lipoja self-requested a review May 17, 2022 18:42
@lipoja lipoja merged commit acdd9e5 into lipoja:master May 17, 2022
@lipoja
Copy link
Owner

lipoja commented May 17, 2022

@khoben Thank you for your time and contribution!

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.

2 participants