dvingerh / PyInstaStories

Python script to download Instagram stories from Instagram users.
MIT License
329 stars 74 forks source link

Support timestamps with millisecond precision #34

Closed gentoo-root closed 4 years ago

gentoo-root commented 4 years ago

Some stories have imported_taken_at timestamps stored not in seconds, but in milliseconds. Trying to download such stories with -ta (--taken-at) fails with ValueError when creating a datetime object. Fix it by autodetecting such timestamps.

dvingerh commented 4 years ago

Thanks!