Commit Graph
157 Commits
Author SHA1 Message Date
monosans e36038b6e3 refactor: rename proxy.as_str to proxy.to_string for clarity 2025-08-15 12:28:43 +03:00
monosans a9e50fda5d reduce string allocations 2025-08-15 12:06:00 +03:00
monosans 82d6ac839b reduce string allocations 2025-08-15 12:00:31 +03:00
monosans ae91ac8fde enable happy eyeballs 2025-08-14 08:48:41 +03:00
monosans 5194a89528 optimize scraper 2025-08-13 19:50:30 +03:00
monosans 867705f787 refactor: optimize proxy matching logic and improve warning messages 2025-08-13 17:24:27 +03:00
monosans ba5289f3b6 reduce vec allocations 2025-08-13 16:46:51 +03:00
monosans ec0251cdbc refactor: replace sort with sort_unstable for improved performance in draw function 2025-08-13 16:25:07 +03:00
monosans 50bbea81d6 refactor: simplify string formatting in ProxyType and Proxy implementations 2025-08-13 16:21:52 +03:00
monosans 6f8345e88c refactor: replace sorting functions with comparison functions for proxies 2025-08-13 16:21:35 +03:00
monosans 931a952543 limit the size of username, password and host in regex 2025-08-13 12:50:51 +03:00
monosans 7fb0851efd add crate::HashMap and crate::HashSet 2025-08-13 07:46:28 +03:00
monosans 325ffe769e fix hyper_util logs spam 2025-08-13 07:35:32 +03:00
monosans b7bf6df5a6 refactor: remove tcp_keepalive options for reqwest >=0.12.23 2025-08-12 21:36:50 +03:00
monosans ee08110a20 use foldhash 2025-08-12 21:36:27 +03:00
monosans 66d2fe56a9 tune reqwest client configuration 2025-08-12 16:11:50 +03:00
monosans e39f0ec5c1 simplify logging 2025-08-12 12:23:25 +03:00
monosans 97a75e625b simplify logging setup 2025-08-12 11:42:11 +03:00
monosans 60d3227767 speedup dns resolving 2025-08-12 11:32:17 +03:00
monosans ea7eeea869 refactor: replace color_eyre::Result with crate::Result 2025-08-10 22:00:30 +03:00
AlmazandGitHub a34acf92ca perf: add mimalloc 2025-08-10 16:47:59 +00:00
monosans 2dd54f7635 reformat 2025-08-08 09:54:24 +03:00
monosans b3b586ae25 use parking_lot::Mutex instead of tokio::sync::Mutex 2025-08-08 09:38:01 +03:00
monosans 42fbc9d9f5 disable ipv6 in parsers 2025-08-07 13:45:06 +03:00
monosans ecd479a243 refactor: remove unnecessary Clone 2025-08-07 08:37:27 +03:00
monosans 6992377789 reformat 2025-08-07 07:58:41 +03:00
monosans e30b54b5ce fix: capture protocol in proxy count filter closure 2025-08-06 13:38:06 +03:00
monosans 82091aa622 fix: improve proxy handling in reqwest client creation and check method 2025-08-06 13:25:43 +03:00
monosans 74215c1347 fix: update fetch_text function signature and improve response handling
fix: change ProxyJson protocol field to own ProxyType
fix: simplify break statement in crossterm_event_listener
2025-08-06 12:29:25 +03:00
monosans f16804e0b4 fix: change Source type to Arc<Source> in ScrapingConfig and related functions 2025-08-05 12:34:54 +03:00
monosans f03f1543fe fix: change method signatures in DbType to take ownership instead of references 2025-08-05 12:16:28 +03:00
monosans 6862dc060b fix: improve error message for loading configuration 2025-08-05 11:38:16 +03:00
monosans 259ce4e4b0 fix: use dereferencing for DbType in event sending 2025-08-05 10:41:37 +03:00
monosans 279f26a6ea fix: add Copy marker to ProxyType and DbType enums 2025-08-05 10:41:12 +03:00
monosans 3f65101451 fix: reorder derive attributes for ProxyType for consistency 2025-08-05 10:14:39 +03:00
monosans 0fb737cdb2 fix: update serde deserialization imports for consistency 2025-08-05 10:12:37 +03:00
monosans ea3a34ff39 fix: update dependencies and enhance configuration for proxy handling 2025-08-05 09:56:11 +03:00
monosans e6ef3a1cbe fix: streamline file reading logic in scrape_one function 2025-08-05 07:39:21 +03:00
monosans dc13044ca3 fix: improve error handling in check_all function for better clarity 2025-08-04 16:38:49 +03:00
monosans 821c0b5251 fix: simplify error handling in check_all function 2025-08-04 16:31:06 +03:00
monosans 716ef06116 fix: enhance URL handling in scrape_one function for better source fetching 2025-08-04 16:27:19 +03:00
monosans 8dc493536c fix: remove unnecessary Clone derive from Proxy struct 2025-08-04 15:41:35 +03:00
monosans 9ddfe921db fix: change ProxyJson fields from String to str for better memory efficiency 2025-08-04 15:31:30 +03:00
monosans 64ba8ce080 fix: remove unused connection pool settings from reqwest client 2025-08-04 15:07:25 +03:00
monosans 31b0b00541 make user-agent configurable 2025-08-04 13:33:06 +03:00
monosans 7aa690cb49 fix: speedup checking by adding connect_timeout 2025-08-04 13:21:53 +03:00
monosans d0596a4c8b enable all rustc lint groups 2025-08-01 23:04:45 +03:00
monosans d820e9406b remove derivative dependency 2025-08-01 23:02:48 +03:00
monosans ba24577365 reorganize code 2025-07-24 10:42:23 +03:00
monosans c77b583148 make retry logic reusable 2025-07-24 10:19:22 +03:00