-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PYPI] Turn into front-end API/package #21 #22
Conversation
...and remove temporal tiles block and __template__ file
...and write planned functions for class
I might add Historical Panoramas to the structure as well - Linked Panos could be for another time
- Allocate metadata in _build_tile_arr to avoid creating requests if key data is needed such as max_zoom - Remove metadata functions that are no longer required
...and fix a typo in download.tiles ...i might divide the download.panorama function into two, or just remove it all idk lol
- to sort out individual tile saving; might clear the syntax later if i find it confusing - delete `from_file()` because i don't think it might be THAT useful
...except for google and apple; will do these later - added _parse_panorama for all services; could be useful to add the first iteration of metadata to avoid a huge cluster - bumped metadata count for bing - added appropiate panorama iterations for bing and yandex - get_metadata is always called if date cannot be obtained
...and use universal metadata structure also remove get_date and get_coords
- polish _parse_panorama - [yandex] change _build_pano_url to _build_meta_url
...merge _build_pano_url with _build_metadata_url
Essential tasks finished. Will test the module by tomorrow and fix some stuff if required. #13 isn't really that automatic since it just obtains the available services, so the automatization has to depend on the developer instead. |
I MIGHT plan on doing a sv-dlp viewer program (as an example of what sv-dlp is capable of doing internally), so i might need to add tile_urls & north/south faces in metadata - idk how to explain |
...update sk-zk/lookaround script, add istrekker and north_offset, remove resourcemanifest, move geo to its own script and rename some functions been a while since i haven't touched this code and i'm feeling upset on how i organized this
CLI Rewrite & SetupTools Finished. |
I might write the package documentation on <readthedocs.io> instead, as it seems easier and convenient for me since most of the process is automatic. |
and allocate panorama to its first iteration
and fix _pano_in_md
...and begin work with services
Almost finished writing the documentation! Services Page is all that is left. I found out that Also first iteration of |
- correct repo owner - add proper installation instructions
...and print help if no argument is parsed
...and add cli test
I'm back after dealing with finals & mental health. |
- sv_dlp constructor no longer uses previous metadata when shorting urls - added pano_id list detection in short_url - fixed bing ?=g t ype - fixed google regular expression url - fixed yandex regular expression url - return proper latitude and longitude in yandex
...add download/metadata test for latitude/longitude & pano; url test for each supported service
Done! Gonna do a bit of tinkering with GitHub WorkFlows and I'm finally done |
...use new bump version system & publish to pypi
Will be used for the planned generator as a showcase of sv-dlp's capabilities
TODO: