Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- igpages = db.managed_accounts.find({'mobile':True})
- for page in igpages:
- if page['drop_niche'] == "Hustlers" and page['proxy'] == "DUMMYVALUE":
- niche, fwcount = get_niche(None, page['like_from'])
- if niche != page['drop_niche']:
- print(page)
- print(niche)
- print("-------------")
- # db.managed_accounts.update_one({'_id': page['id']}, { '$set': { 'drop_niche': niche, 'like_from_niche': niche } })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement