Giter VIP home page Giter VIP logo

me-want-cookies's Introduction

brought to you as libre software with joy and pride by Cookie Engineer.

Me Want Cookies!

This Web Extension is a Cookie Store export helper. A lot of websites on the internet require session cookies and have mechanisms in place that won't let you download or archive stuff for personal purposes.

Usage

This Extension exports all Cookies that can be accessed by the current Tab (not only the ones related to the active domain) into Netscape's cookie.jar (cookies.txt) format that can be used by other CLI tools.

CLI tools that support this format are e.g. curl, libaria, wget or even higher level tools, such as instagram-scraper or youtube-dl.

As a good workflow on how to "not leak" your other Cookies and only export the ones that you really need for the current website, it is recommended to Open a new Tab in Incognito Mode; and to activate only this Extension for it (and e.g. leave your Ad Blockers active in Normal Mode):

  • Go to chrome://extensions.
  • Enable the Me Want Cookies! Extension in Incognito Mode.
  • Open the Proprietary Website in a new Incognito Window.
  • Login with your Account Credentials.
  • Click on the Me Want Cookies! Extension Icon.
  • Copy the Textarea content to a cookies.txt file manually.

Screenshot

Screenshot

Installation

I could not submit it for free into the Chrome App Store, because I do not own a credit card and I don't intend to get one.

There are two ways to install this Extension:

Local Installation

  1. Go to chrome://extensions
  2. Drag the CRX file from the releases section onto the Browser window.

Developer Mode Installation

  1. Clone this repository to your hard drive via git.
  2. Go to chrome://extensions and point it to the me-want-cookies folder.

Common Issues

If your python-based CLI tool of choice nags you with that it isn't a properly formatted Netscape cookies file, it usually is a wrong assumption on their side that the leading comments (starting with # Netscape HTTP Cookie File) have to exist there to be valid.

That's why this Extension will include those comments so that it's easier to paste and forget about it.

Bugs

Chrome's Web Extension API currently cannot save a file, as it will always lead to a Network Error and the chrome.downloads API doesn't feature a use case where the File's Buffer contents can be set manually.

As Chrome's Web Extension context also doesn't support the navigator.clipboard API, the contents of the textarea have to be copied manually.

License

This Web Extension is licensed under the GNU AGPL 3.0 license.

Sponsorship

If you like the work that I do and want me to continue working on things like this; it would be awesome if you would sponsor this project:

https://github.com/sponsors/cookiengineer

me-want-cookies's People

Contributors

cookiengineer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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