You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2018/01/29 15:38:02 UTC
svn commit: r1822522 - /comdev/tools/meetups.py
Author: sebb
Date: Mon Jan 29 15:38:02 2018
New Revision: 1822522
URL: http://svn.apache.org/viewvc?rev=1822522&view=rev
Log:
Two more irrelevant groups
Modified:
comdev/tools/meetups.py
Modified: comdev/tools/meetups.py
URL: http://svn.apache.org/viewvc/comdev/tools/meetups.py?rev=1822522&r1=1822521&r2=1822522&view=diff
==============================================================================
--- comdev/tools/meetups.py (original)
+++ comdev/tools/meetups.py Mon Jan 29 15:38:02 2018
@@ -41,8 +41,6 @@ def importMeetups():
# Please play nice.
key = "3a7711454d145e404e531c2ee6f391d"
- # Radius is defined around Lexington, KY, but it's infinite radius, so
- # should work everywhere.
# Only want data for next fortnight (default is 1 month)
url = "https://api.meetup.com/2/open_events?time=,2w&text=apache&sign=true&key=" + key
@@ -173,7 +171,12 @@ up a brief summary of what was covered.
# These group['shortname'] values are unlikely to be relevant:
skip_groups = dict.fromkeys(['arts-culture', 'health-wellbeing',
'hobbies-crafts', 'language', 'music', 'new-age-spirituality',
+ 'fitness', 'socializing',
'outdoors-adventure', 'photography', 'singles'])
+
+ # Note: these ones do have relevant meetings (though the name suggests otherwise):
+ # career-business
+
used_groups = {} # collect the unskipped groups
for meetup in meetups: