From ec378ed07c54f46dddc4d1590ce592ee8e2df1fa Mon Sep 17 00:00:00 2001 From: Honza Javorek Date: Thu, 30 Nov 2023 16:23:06 +0100 Subject: [PATCH] better --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 09d185b..d3eb763 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ This library takes HTML source of a meetup group page on Meetup and returns a li ... html = f.read() ... >>> events = parse(html) ->>> event = events[0] +>>> event = next(event for event in events if event['venue'] is not None) >>> sorted(event.keys()) ['description', 'ends_at', 'starts_at', 'title', 'url', 'venue'] >>> sorted(event['venue'])