Skip to content

[Bug]: Inconsistent handling of 2.0 projects #415

@husqwc

Description

@husqwc

scratchattach version

2.1.13

What happened?

I wanted to see if sa.get_project() would work by trying to fetch https://scratch.mit.edu/projects/918894112. It didn't work, so I assumed that it couldn't fetch 2.0 projects. I run my code, and then came back only to discover that it crashed because https://scratch.mit.edu/projects/1023073403/ was a 2.0 project, and the file format was not the one my code was expecting. Please either completely support 2.0 projects or drop support for them entirely.

Your code.

print(sa.get_project(1023073403).raw_json()) // works
print(sa.get_project(918894112).raw_json()) // doesn't work

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions