Skip to content

Commit

Permalink
fix: fixing bad proxies
Browse files Browse the repository at this point in the history
  • Loading branch information
vwh committed Aug 28, 2024
1 parent a6f8588 commit b08a7a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/proxy-scrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const request = async (url: string) => {
const cleanData =
data.match(PROXY_REGEXP)?.map((item: string) => item.trim()) ?? [];

cleanData.forEach((proxy: string) => {
cleanData.map((proxy: string) => {
if (proxy && !proxy.includes("127.0.0.1")) {
return proxy.replace(/"/g, "").replace(/>/g, "");
}
Expand Down

0 comments on commit b08a7a7

Please sign in to comment.