Returns a random attendee from an event url on meetup.com
Usage (from iex -S mix
):
iex> MeetupGiveaway.pick_random_attendee("https://www.meetup.com/ChicagoElixir/events/241965932/")
# => And the winner is :: "Some Name"
mix run -e 'MeetupGiveaway.pick_random_attendee("https://www.meetup.com/ChicagoElixir/events/241965932/")'
- PhantomJS (
yarn global add phantomjs && phantomjs --wd
)