webbreacher / untappdscraper Goto Github PK
View Code? Open in Web Editor NEWScript to scrape untappd.com content
Home Page: https://untappd.osint.ninja
License: Other
Script to scrape untappd.com content
Home Page: https://untappd.osint.ninja
License: Other
Make geolocation with Google API a flag that can be turned on or off.
Hi Micah
I am very new at Python and this script is far above my comprehension. I am trying it for a presentation on OSINT I am doing and one of the guys in the audience is a serious Untapped user. In fact, he is one the elite with over 1000 beers tried or some ridiculous number. I wanted to demo this while he is in the audience as a humorous way to show the power of OSINT. I inputted his name in he script but it doesn;t seem to get past it.
File "C:\Users\Warren Bulmer\Desktop\My Stuff\Python Scripts\untappdScraper-master\untapped.py", line 21, in
parser.add_argument('Jim11914', 'Jim11914', required=True, help='Username to research')
File "C:\Python27\Lib\argparse.py", line 1280, in add_argument
kwargs = self._get_optional_kwargs(*args, **kwargs)
File "C:\Python27\Lib\argparse.py", line 1410, in _get_optional_kwargs
raise ValueError(msg % tup)
ValueError: invalid option string 'Jim11914': must start with a character '-'
Can you help me?
I have created only bing api key, but didn't get any html output, how does it work? help, please
Some names in my friends list don't have ascii character, it's possible to convert variable to UTF8?
starsplash@E5430:~/script/untappdScraper$ python untappd.py -u spec_r
[ ] USER DATA: Requesting https://untappd.com/user/spec_r
Total Beers: 2,889
Total Unique: 1,771
Total Badges: 1,595
Total Friends: 117
[ ] FRIEND DATA: Requesting https://untappd.com/user/spec_r/friends
Name Account Location
------------------------------------------
Traceback (most recent call last):
File "untappd.py", line 121, in <module>
print(' {:17}'.format(friend))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 27: ordinal not in range(128)
Receive the Following Error:
Traceback (most recent call last):
File "./untappd.py", line 405, in
get_venue_data(args.user)
File "./untappd.py", line 133, in get_venue_data
venue1[2].replace('\t', '').replace('\n', ''), loc))
UnboundLocalError: local variable 'loc' referenced before assignment
The script currently detects binge drinkers based on how many drinks they had in a particular day. However, this means that the count resets at midnight, which could result in false negatives (If I have 3 beers between 11 and 11:59 PM and 2 between 12 and 12:59 AM, I am definitely a binge drinker by the NIAAA definition).
Mod the script to:
The script alerts that the user might be a potential binge drinker if they drank 5 beers in one day. The NIAAA defines binge drinking for men as 5 drinks in less than 2 hours. The script could be modified to examine the time between each drink to determine if the user meets this Binge Drinking definition.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.