Coder Social home page Coder Social logo

mscheel / airbnb-reservation-scraper-chrome-extension Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 86 KB

Chrome extension that copies tab delimited metadata about a reservation into clipboard whenever a reservation is loaded into a Tab

License: Apache License 2.0

JavaScript 100.00%

airbnb-reservation-scraper-chrome-extension's Introduction

airbnb-reservation-scraper-chrome-extension

Chrome extension that copies tab delimited metadata about a reservation into clipboard.

###To use:

  1. Install as Chrome Extension
  • Open Chrome
  • go to chrome://extensions
  • "click load unpacked extension"
  • select the folder of this repo
  1. Load a reservation

These are the fields that get extracted:

Check In Date Check In MonthYear Check out date Number of nights Number of guests Nightly Payout Nightly fee times num nights Cleaning Fees Airbnb Fee Total Payout Security Deposit Property Guest Name Reservation Code Phone Number

These fields for my account sometimes do not exist so there is special code to work around that:

Cleaning Fee

Security Deposit

Phone Number

Note: Phone Number will never exist after a guest has checked out + 24 hours, it becomes hidden

MonthYear

is a generated field I use for spreadsheet manipulation to do monthly metrics.

##Typical Usage

I open a spreadsheet with the fields above as a header. I go to my transaction history. I command click reservations opening them in new tabs and loading the clipboard. I go to spreadsheet. I paste in a new row from clipboard. I close opened reservation tab. I command click a new reservation and continue.

##Development Tips

This technology is not in my wheelhouse, so if I ever need to make updates these lessons will be helpful reminders to me. Ignore if expert already.

  • cmd-option-I opens dev tools window
  • in console, $$('whatever') will make matches, . is for class name
  • when making changes to extension code you have to go to Extensions window and hit cmd-R to refresh

airbnb-reservation-scraper-chrome-extension's People

Contributors

mscheel 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.