Hack Forums
[Python] Proxy Sorter - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Python] Proxy Sorter (/showthread.php?tid=5076952)



Proxy Sorter - Baba Yaga - Nov 30, 2015





Here is a small script that I made due to copying/pasting proxies and never getting them in the right format. Before I would manually keep pressing enter, but with the power of Python everything is now automated. Enjoy! 🤝

Edit: Source code is in the video description


* - ItsUzi - Dec 5, 2015

Nice script, can have some other uses as well, if you're looking for ideas to add to it, add an optional parameter to create a new file rather than make changes to the current one.


* - Pseudonym - Dec 5, 2015

Writing script to do this sounds like waste of time considering perl -i -pe 's/ /\n/g' file or sed -i 's/ /\n/g' file do the same thing. Good text editor can do it too.


* - tulamba - Dec 5, 2015

you should include the link to the script so one can view it directly without watching the video