Open patricknelson opened 2 years ago
Thanks guys, with both of your fixes I can make more progress but I still one 401 error when downloading a dam file inside the folder "model/xxxxxxxxxxxx/assets/". I noticed that it's trying to download a
"https://cdn-2.matterport.com/models/whatever/assets/whatever2_50k.dam?t=tokenwhatever&k="
when in reality, in matterport this file's url is
"https://cdn-2.matterport.com/models/whatever/assets/~/whatever2_50k.dam?t=tokenwhatever&k="
Once I manually downloaded the file and placed it in the "~" folder, the rest of the process downloaded fine.
Hope it helps
Fixes #64 and possibly a few other issues.
This hack incorporates additional graph queries, including:
Also monkey-patches some of the requests going to the new CDN domain (
cdn-2.matterport.com
), but not all. This is still a WIP since the cached graph JSON responses still need to have theircdn-2.matterport.com
requests also refactored. This is a bit different though since those can't run JS, so may need to do root relative references (e.g./path
instead ofhttps://127.0.0.1:8080/path
).