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

Asyncio support #100

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

edgeinfinity1
Copy link

Quite a rough one, using httpx instead of requests.
Comes together with a simple example.

@Nv7-GitHub
Copy link
Owner

Is this a breaking change or is this compatible with all older code too?

@edgeinfinity1
Copy link
Author

Is this a breaking change or is this compatible with all older code too?

This breaks the original searching function.
For a fully compatible version, I can separate the async part into a new function. Or you can change it in this PR too, it's simple.

@edgeinfinity1
Copy link
Author

Progress: Now added compatibility to sync search function.
Async searching now named asearch.
Async searching supports socks5.

@Nv7-GitHub
Copy link
Owner

Sorry for the late response! Would you mind putting it in a separate file just to make the code a little cleaner?

@edgeinfinity1
Copy link
Author

Sorry for the late response! Would you mind putting it in a separate file just to make the code a little cleaner?

I'd like to but the main structure was set in the init file. It should be a separate file itself so I can make a symmetric one.
Could you sort that part out first?

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