Skip to content

Instantly share code, notes, and snippets.

@omarzer0
Created December 15, 2022 17:03
Show Gist options
  • Save omarzer0/1574eab43213b6eb21af6ff3afe10df7 to your computer and use it in GitHub Desktop.
Save omarzer0/1574eab43213b6eb21af6ff3afe10df7 to your computer and use it in GitHub Desktop.
import 'package:http/http.dart' as http;
void main(){
// Uri uri1 = Uri.parse('https://example.com/whatsit/create');
// http.get(uri1).then((value) => print(value.statusCode));
// Uri uri2 = Uri.parse('https://jsonplaceholder.typicode.com/albums/1');
// http.get(uri2).then((value) => print(value.statusCode));
for(int i = 0; i <= 9 ; i++){
for(int j = 0; j <= 9 ; j++){
Uri uri = Uri.parse('https://files.fm/u/7z${i}62qe${j}u');
http.get(uri).then((value){
if(value.statusCode == 200){
print('https://files.fm/u/7z${i}62qe${j}u');
}
});
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment