10 Commits

Author SHA1 Message Date
Alexander Graf
2722da6ae4 Fix anon username from id (find renamed profile)
maybe related to #95, #104, 67ac8f339716c498cddb2f1489eac6104409646c.
2018-05-01 13:11:40 +02:00
Alexander Graf
2c50972e08 Update as-module.rst and docstrings 2018-04-28 15:47:04 +02:00
André Koch-Kramer
e25eb2a948 Limit GraphQl queries to 20 per 11 minutes
cherry-picked from commit d90c05e0a44cb0c41b98436ac18bfd1955a0a9ce
- Set GRAPHQL_PAGE_LENGTH to 50 what appears to be the new working maximum.
- Limit GQL queries to 20 per 666 seconds.
- Remove logic for tracking queries per query identifier as Instagram
  only allows 20 overall GQL queries per sliding window.

Related to #101
2018-04-26 17:13:59 +02:00
Alexander Graf
2d9acd9989 Slightly improve error handling
Use raise from rather than raise where appropriate

Have a logic to reduce graphql page length if 400 Bad Request is
returned
2018-04-18 15:58:45 +02:00
Alexander Graf
5d513da73c Fix x-instagram-gis calculation
Port of f16b99bec0d010a439dfe347e333b387bc3c851d to v4-dev branch.
2018-04-17 14:01:11 +02:00
Alexander Graf
7976a4811e Fix x-instagram-gis calulation
Port of efa0b93fdaef24b0f483fd080773359127f26087 to v4-dev branch.
2018-04-13 18:34:35 +02:00
Alexander Graf
9b3014d5bf Fix anonymous GraphQL queries
Port of 73ec884ea49cf099570b6b2dd4c6f1f751ae4b96 to v4-dev.
2018-04-11 21:24:36 +02:00
Alexander Graf
020830d591 Allow graphql_node_list() to take a first page 2018-04-11 20:44:17 +02:00
André Koch-Kramer
dd1cbf0a1d Fix instaloadercontext.get_and_write_raw() 2018-04-10 09:51:35 +02:00
Alexander Graf
c71be83f43 Split module into multiple files 2018-04-06 17:40:22 +02:00