skip to Main Content

How do I parse site html with "span"?

I'am new in web-parsing and I ran into a problem. I wanna extract number of watching from the site: enter image description here I wrote this code for that purpose: url = 'https://www.kommersant.ru/doc/4638344' request = requests.get(url) req = request.text soup=BeautifulSoup(req,…

VIEW QUESTION

Api calling error while parsing the data to model class in dio flutter

Error: E/flutter (28049): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:object_mapper/src/mappable.dart': Failed assertion: line 8 pos 12: 'constructor != null': RegistrationResponse is not defined in Reflection.factories E/flutter (28049): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61) E/flutter (28049): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5) E/flutter (28049): #2 new Mappable (package:object_mapper/src/mappable.dart:8:12) E/flutter (28049):…

VIEW QUESTION
Back To Top
Search