Skip to content
This repository was archived by the owner on Jan 25, 2019. It is now read-only.
This repository was archived by the owner on Jan 25, 2019. It is now read-only.

KeyError: 'text/html' #11

@netpoetica

Description

@netpoetica

Hello!

If I run (like the example):

➜  gitdriver git:(master) ✗ env/bin/python gitdriver.py MY_DOC_ID 

I get the following output:

Exactly one mime-type must be given!

When I add the -T/--text flag, or specify --mime-type=text/html, I get the following output:

Create repository "MY_DOC_TITLE"
Initialized empty Git repository in /Users/rosenbek/Desktop/temp/gitdriver/MY_DOC_TITLE/.git/
Traceback (most recent call last):
  File "gitdriver.py", line 72, in <module>
    main()
  File "gitdriver.py", line 55, in main
    r = gd.session.get(rev['exportLinks'][opts.mime_type])
KeyError: 'text/html'

Any thoughts what might be going on?

I am trying to clone a Google Sheet, if it's any help.

Thanks for the good idea on this repo!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions