openbullet / OpenBullet2

OpenBullet reinvented
https://docs.openbullet.dev/
MIT License
1.78k stars 479 forks source link

[REQUEST] Capture Proxies From URLs With Bad Format #239

Open NewBie-OBB opened 3 years ago

NewBie-OBB commented 3 years ago

As you can see we have many good links to scrape list proxies (FREE & PAID) and OB1/OB2 can easy get them with only format IP:PORT

But some sites with bad format as:

{“IP”: “185.245.81.190”, “PORT”: “12444”, “ANON”: “Elite”, “COUNTRY”: “United Kingdom”, “ISO”: “GB”}, {“IP”: “159.8.114.30”, “PORT”: “8123”, “ANON”: “Elite”, “COUNTRY”: “France”, “ISO”: “FR”}, {“IP”: “18.133.233.60”, “PORT”: “80”, “ANON”: “Transparent”, “COUNTRY”: “United States”, “ISO”: “US”}, {“IP”: “176.113.73.100”, “PORT”: “3128”, “ANON”: “Transparent”, “COUNTRY”: “United States”, “ISO”: “US”}, {“IP”: “169.57.1.80”, “PORT”: “8123”, “ANON”: “Elite”, “COUNTRY”: “Mexico”, “ISO”: “MX”}, {“IP”: “132.248.190.2”, “PORT”: “8080”, “ANON”: “Elite”, “COUNTRY”: “Mexico”, “ISO”: “MX”}, {“IP”: “188.166.150.26”, “PORT”: “8080”, “ANON”: “Transparent”, “COUNTRY”: “United Kingdom”, “ISO”: “GB”}, {“IP”: “185.104.159.206”, “PORT”: “8080”, “ANON”: “Transparent”, “COUNTRY”: “Iraq”, “ISO”: “IQ”}.etc.

I hope when add that links, OB1/OB2 still can get proxies list in the next version. Thank you for your hard work to have a best tool for us! Good luck!

openbullet commented 3 years ago

Could you please clarify if you want to import proxies in the database of OB2 using the remote API option or if you want to be able to use them as proxy sources in a job so they can be queried periodically?

tcortega commented 3 years ago

Could you please clarify if you want to import proxies in the database of OB2 using the remote API option or if you want to be able to use them as proxy sources in a job so they can be queried periodically?

I think his suggestion would apply to both cases, what he meant is, there are some websites that returns the proxy "file" with a json format, or any other format that is just different from line breaking(normal txt). And he wants support to parse the proxies from those websites importing from an api or something like that.

openbullet commented 3 years ago

@tcortega I understood that, I just wanted to know if I can get away with adding the box only in the import proxies screen or if I also have to rework the proxy source in the job.