bibanon / py8chan

Python wrapper for the 8chan API, based on BASC-py4chan.
Do What The F*ck You Want To Public License
14 stars 7 forks source link

Last-modified header supplanted by JSON value #4

Closed antonizoon closed 8 years ago

antonizoon commented 8 years ago

Instead of Last-modified being in the HTTP header like on 4chan, it is emitted as a JSON value in the 8chan API.

http://8ch.net/v/res/10039522.json

_from_requests() needs to be modified to accept this.

Amersel commented 8 years ago

Solved by https://github.com/bibanon/py8chan/commit/c2cf66ff80fceb590e666f5968baae201fe79c25