mirror of
https://github.com/TeamNewPipe/NewPipe/
synced 2025-01-18 04:04:57 +01:00
change ip address provider
removed null bomb
This commit is contained in:
parent
e99e944ac3
commit
1aed11c156
@ -474,7 +474,7 @@ public class ErrorActivity extends AppCompatActivity {
|
||||
String ipRange = "none";
|
||||
try {
|
||||
Downloader dl = Downloader.getInstance();
|
||||
String ip = dl.download("https://ifcfg.me/ip");
|
||||
String ip = dl.download("https://ipv4.icanhazip.com");
|
||||
|
||||
ipRange = Parser.matchGroup1("([0-9]*\\.[0-9]*\\.)[0-9]*\\.[0-9]*", ip)
|
||||
+ "0.0";
|
||||
|
Loading…
Reference in New Issue
Block a user