lundi 15 avril 2019

Python scrapyrt web crawler

I was unable to crawl all the data within div with class "couponTable" of the following webpage: https://bet.hkjc.com/football/odds/odds_inplay.aspx?lang=CH. What am I doing wrong?

def parse(self, response):
        for row in response.css("div.couponTable > div.couponRow.rAlt1.tgCou1"):
            yield {
                "day": row.css("a::text).extract_first()
            }

Aucun commentaire:

Enregistrer un commentaire