Time:09-18
CodePudding user response:
advice to find regularity, and then with a regular,
I don't want to send this TWO extracted star rating for advice!
Quote: refer to 1st floor whileTrue_learn response: I don't want to send this TWO extracted star rating for advice! After the label attribute STR. The split () [1] segmentation
can't, attribute extraction is a piece of extracted, you can use the slice method is part of a display, such as
this demand is a little strange, maybe I understand wrong
Quote: references 9 f dabingsou response: this demand is a little strange, maybe I understand wrong haha that's a rating evaluation class I want to send this climb out
Quote: reference to the tenth floor whileTrue_learn response: Quote: references 9 floor dabingsou response: this demand is a little strange, maybe I understand wrong haha that's a rating evaluation class I want to send this climb out understand, that is in accordance with the said above, pulled out of the class, and then split the
Quote: references 9 floor dabingsou response: this demand is a little strange, maybe I understand wrong haha that's a rating evaluation class I want to send this climb out
if every class is the star rating + * * *, you can use the above said they split it. The split () [1]
Quote: refer to the fifth floor JMZL reply: Quote: refer to 1st floor whileTrue_learn response: I don't want to send this TWO extracted star rating for advice! After the label attribute STR. The split () [1] segmentation great god also trouble again ask me what I should use keywords to class=star - rating * * are extracted from this class attribute... Behind him one, two three different thank you
the from simplified_scrapy. Simplified_doc import SimplifiedDoc Doc=SimplifiedDoc () Print (doc. GetElementByClass (" star - rating ", '& lt; P & gt;
Page link:https//www.codepudding.com/other/9214.html