Skip to content

Conversation

@la55u
Copy link
Contributor

@la55u la55u commented Jul 4, 2018

Proxies can now be filtered with an optional parameter in the RequestProxy constructor. For this the parsers have to set the supported protocols for each proxy object they build. Protocols are stored in the ProxyObject.Protocol enum. Currently only FreeProxy parser supports HTTPS, but i'll add sslproxies dot org later as well.
PremProxy: parsing was broken because the port number was 'encrypted' and no longer stored in CSS.
They are now obtained from a javascript file that holds a function to the key-port pairs.

Let me know if I missed anything or something is wrong.

la55u added 2 commits July 4, 2018 16:05
Proxies can now be filtered with an optional parameter in the RequestProxy constructor.
For this the parsers have to set the protocol for each proxy object they build.
Protocols are stored in the ProxyObject.Protocol enum.
PremProxy: parsing was broken because the port number was 'encrypted' and no longer stored in CSS.
They are now obtained from a javascript file that holds a function to the key-port pairs.
@pgaref
Copy link
Owner

pgaref commented Jul 4, 2018

Thanks for the PR @la55u !
I can take a look in a few hours.
Could you please fix the failing test cases? I believe they are related with the renamed provider class (PremProxyParser)

@pgaref pgaref mentioned this pull request Jul 5, 2018
@pgaref
Copy link
Owner

pgaref commented Jul 5, 2018

Thanks for the PR @la55u !
The changes were merged to the master after some polishing and fixing the failing test case.
You can check the updated PR at #47 which also added you to the contributors list :)

It would be great to have the protocol filter you introduced as part of the command line arguments as well in the future! Marked as #48

Thanks again for contributing!

@pgaref pgaref closed this Jul 5, 2018
@la55u
Copy link
Contributor Author

la55u commented Jul 5, 2018

Cool, thanks for the fixes I was really lost with these tests...

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