Skip to main content

WeightWatchers eTools Site Scraper

Project description

WWScraper
=========

Introduction
------------
WWScraper is a module designed to scrape the mobile WeightWatchers website.

It currently allows you to query points info for foods and pull some general information about the current user. It requires a WeightWatchers eTools account.

This module is in no way affiliated with WeightWatchers International, and is not guaranteed to continue to work in the event of changes to their mobile site. It requires you have a valid, paid eTools account in order to access this data.

History
-------
I designed this module as I was not happy with the WW website requiring me to load up a bulky flash app just to search for foods, and the mobile interface is quite clumsy even in a full blown browser.

Requirements
------------
mechanize
BeautifulSoup

Basic Usage
-----------
from WWScraper import WWScrape

# Instantiate the object, and connect
ww_site = WWScrape()
ww_site.connect('wwmobileuser','wwmobilepass')

# Do a food search
potato_data = ww_site.food_search('potato')

# Display our results (provided in tuples)
for result in potato_data:
print "Name: %s, ID: %s, Serving: %s, Points: %s" % result

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

WWScraper-0.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

WWScraper-0.1.linux-x86_64.tar.gz (5.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page