Coder Social home page Coder Social logo

scrape's Introduction

A chrome extension to pull profile information from people that like. How to use: Simply go campaign manager, and hit the button. The extension will automatically open and close tabs for you.

FAQ

  1. Why make this? To automate finding leads for sales/marketing

  2. Why not make direct API calls or a web crawler? At the time of making this, a super strict robots.txt and the overpriced, private API prevented other options

  3. Why are you using setTimeout? That's awful practice Yeah it is, but the site uses ajax calls to populate information on screens. When opening so many tabs, the network load (in my experience) caused the content scripts to execute before the elements had been created/populated, resulting in no data. Therefore, timeouts to stagger tab opening and content scraping were added to allow faster loading times

  4. Why are you using chrome identity in place of plain OAuth2 or node packages? So this took me for a spin. The node packages require saving credentials to the file system - chrome extensions don't have access to that. Additionally, webpack clashes with the google packages which I wanted to avoid. I used chrome identity because it was simpler to set up than standard OAuth2

  5. Some of these files look eerily similar to another project I used a joint project, Re:Scan, by me and Tonia Hsia (<3) as a start to avoid having to rewrite a lot of things from scratch. Those assets are largely untouched.

  6. How does sheets ...? All this does is pull data then write to Google Sheets. Any logic will be handled within the spreadsheet itself.

  7. You could've done ... better Probably, but I'm always looking to improve! Send me a message if you have any (constructive) feedback, or a cease and desist.

scrape's People

Contributors

quarks0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.