-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Full commentary method retrieves the entire commentary for a match. Added it to a branch but I don't have access to commit it
def fullcommentary(self,mid): data = {} try: url = "https://www.cricbuzz.com/match-api/"+mid+"/commentary-full.json" comm = self.crawl_url(url).get('comm_lines') d = [] for c in comm: if "comm" in c: d.append({"comm":c.get("comm"),"over":c.get("o_no")}) data['fullcommentary'] = d return data except Exception: raise
Metadata
Metadata
Assignees
Labels
No labels
