GithubHelp home page GithubHelp logo

instant-data-scraper's Introduction

Instant Data Scraper

Chrome Extension

Feature Request by Anil Sir

Add CSV Column Mapping: - Why: The default CSV generated has random column headings based on source HTML. - When first running Instant Data Scraper for a type of URL, give an option to generate a Mapping File. - The Mapping File will map generated column names to required column names. - Columns not required will be dropped. - On next run, give an option to see Mapped CSV and download that instead of original CSV.

How to do this Mapping

  1. Enable Developer Mode for Chrome Extensions.
  2. Install from disk instead of pre-packaged extension.
  3. Inspect and find where CSV is generated.
  4. How to modify CSV (any package required) ?
  5. Add button, or else toggle mode for Mapped CSV instead of original CSV (using fixed mapping).
  6. Now add option for generating Mapping on first run.

PROBLEMS

  • Which URLs are "similar" ?
  • Where should mapping be stored (maybe in $HOME) ?
  • How will the whole "Auto Generating Mapping" interface work?
    • Maybe allow renaming / leaving blank (or deleting) column names from generated CSV?
    • or maybe delegate to another program like Excel?

NOTES

  • CSV Data stored in generatedCSVData variable on line 205 in popup.js.

BUGS

  • Chrome Console Error Message - Unchecked runtime.lastError: The message port closed before a response was received.

instant-data-scraper's People

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.