"cambios en iconos de la app android"
This commit is contained in:
@ -3,7 +3,7 @@ import 'package:html/parser.dart' as htmlParser;
|
||||
|
||||
class DataService {
|
||||
Future<List<Map<String, dynamic>>> obtenerDatos() async {
|
||||
final response = await http.get(Uri.parse('http://www.crcivan.com/escaparate/noticias.cgi?idnoticias=192683'));
|
||||
final response = await http.get(Uri.parse('https://crcivan.asociacionador.es/contenedores.html'));
|
||||
if (response.statusCode == 200) {
|
||||
final document = htmlParser.parse(response.body);
|
||||
|
||||
|
||||
@ -15,9 +15,9 @@ class MyBloc extends Cubit<MyState> {
|
||||
MyBloc() : super(MyState());
|
||||
|
||||
}
|
||||
//mejorar código
|
||||
|
||||
Future<List<String>> obtenerDatos() async {
|
||||
final response = await http.get(Uri.parse('http://www.crcivan.com/escaparate/noticias.cgi?idnoticias=192683'));
|
||||
final response = await http.get(Uri.parse('https://crcivan.asociacionador.es/contenedores.html'));
|
||||
if (response.statusCode == 200) {
|
||||
final document = htmlParser.parse(response.body);
|
||||
final elementosSpan = document.querySelectorAll('html > body > div > center > table > tbody > tr > td > div > center > table > tbody > tr > td > table > tbody > tr > td > font > font > table > tbody > tr > td > span');
|
||||
|
||||
Reference in New Issue
Block a user