Git Product home page Git Product logo

pysnapstories's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pysnapstories's Issues

[bug] Something went wrong: download_story() got an unexpected keyword argument 'is_overlay'

I started getting this error on multiple users:

D:\PySnapStories-master>python pysnapstories.py sommerray

PYSNAPSTORIES (SCRIPT V2.1 - PYTHON V3.7.4) - 12:56:27 AM

Treating input as username. (no ID was detected)
Starting download for user: sommerray

Story Id : sommerray
Story Title : Sommer-Ray
Story amount : 6

Something went wrong: download_story() got an unexpected keyword argument 'is_overlay'
The script cannot continue, exiting.

Something went wrong: Expecting value: line 1 column 1 (char 0)

python3 pysnapstories.py loren
-----------------------------------------------------------------------------------------------
[I] PYSNAPSTORIES (SCRIPT V2.1 - PYTHON V3.6.0) - 06:52:12 AM
-----------------------------------------------------------------------------------------------
[I] Treating input as username. (no ID was detected)
[I] Starting download for user: loren
[E] Something went wrong: Expecting value: line 1 column 1 (char 0)
[E] The script cannot continue, exiting.

Any ideas?

Script overwriting stories with similar names

Hi Dirk,
It seems that the script overwrites any stories from a certain user that has the same name, for some reason the stories filenames aren't unique, like if you download a story and try to download another story a week later ( from the same user ), there's a high chance that they would have the same filenames and the script would overwrite the old files.
Also, lets say I'm scraping "sommerray" stories, the script would make a folder by the name "sommerray_NoTitle" , if you create folders inside that folder , the script would delete them also.
I'm not sure on how to reproduce this bug.

[Bug] SSL: CERTIFICATE_VERIFY_FAILED

So the script stopped working, looks like the api broke.
Here's my log from the script:

D:\PySnapStories-master>python pysnapstories.py elsiehewitt
-----------------------------------------------------------------------------------------------
PYSNAPSTORIES (SCRIPT V2.1 - PYTHON V3.7.4) - 04:21:25 AM
-----------------------------------------------------------------------------------------------
Treating input as username. (no ID was detected)
Starting download for user: elsiehewitt
Something went wrong: HTTPSConnectionPool(host='storysharing.snapchat.com', port=443): Max retries exceeded with url: /v1/fetch/elsiehewitt (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1076)')))
The script cannot continue, exiting.

D:\PySnapStories-master>python pysnapstories.py sommerray
-----------------------------------------------------------------------------------------------
PYSNAPSTORIES (SCRIPT V2.1 - PYTHON V3.7.4) - 04:21:26 AM
-----------------------------------------------------------------------------------------------
Treating input as username. (no ID was detected)
Starting download for user: sommerray
Something went wrong: HTTPSConnectionPool(host='storysharing.snapchat.com', port=443): Max retries exceeded with url: /v1/fetch/sommerray (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1076)')))
The script cannot continue, exiting.```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.