[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FOIA MuckRock API
- To: Michael Morisy <[email protected]>
- Subject: FOIA MuckRock API
- From: [email protected] (coderman)
- Date: Tue, 10 Nov 2015 20:04:45 -0800
- Cc: cpunks <[email protected]>, Michael Best <[email protected]>
- In-reply-to: <CAH7N8Y=r96XSbD+T=YrJ-4YkmAoH80_FrpHuoeVMFA3i2YE1mg@mail.gmail.com>
- References: <CANFTA09DM+O8ZQb2fxdCUer8h=0aQ0btUAwU6m+7wUdbeNyGLg@mail.gmail.com> <CAJVRA1TuoZvLnhLrQuomqks0WHjzn7cnsZi+BQ+5F=ns=F=ECQ@mail.gmail.com> <CAJVRA1R6YjHD9uHTLedmNBBRuDTYxVrQrZ1LU=t3io2J2gU4MQ@mail.gmail.com> <CAH7N8Y=r96XSbD+T=YrJ-4YkmAoH80_FrpHuoeVMFA3i2YE1mg@mail.gmail.com>
On 11/10/15, Michael Morisy <[email protected]> wrote:
> I don't, for me it crashed around page 40 when I had it doing 20
> requests a page, but good chance I was doing something dumb/it was a
> problem with my computer
comparing Python versions might be useful. (i am using 2.7.6 for this test)
> Mitch wrote some export code that's much cleaner in case it's helpful,
> with the big caveat that it drops everything into JSON files instead
> of txt and PDF.
thanks; i'm past 90 pages now, and wondering if this is a particular
edge case with some specific versions of Python, urllib, requests -
the whole crew are a motley bunch!
last question: API only credentials, like a "Device Login" or API
token, which don't use primary username and password:
are these on the roadmap?
i don't mind this method much, since i generate unique user and
passwords anyway, but it is good practice to have separate credentials
for the bots and scripts :)
thanks again!