Skip to content
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

Parsing error to generate ID from new package set #34

Open
dustinnewman opened this issue May 23, 2018 · 2 comments
Open

Parsing error to generate ID from new package set #34

dustinnewman opened this issue May 23, 2018 · 2 comments
Assignees

Comments

@dustinnewman
Copy link

Description

When generating a "Drive folder id" from a "Drive folder url," the current parser does not handle the ?open or ?share sections of the Google Sharing URL properly and they get put into the ID.

@hongee
Copy link
Contributor

hongee commented May 29, 2018

this applies to everything that's trying to extract ids from the URL

@hongee hongee assigned hongee and tiyingxu and unassigned hongee May 30, 2018
@tiyingxu
Copy link
Contributor

-create utils in packages
-function to parse the url string into an id
-replace all instances of rsplit in models.py with this new function
ex: https://drive.google.com/drive/u/2/folders/1op3-tdr52KqY4A-Bmt3Rcu75VW8KWE-6?blah=u to
1op3-tdr52KqY4A-Bmt3Rcu75VW8KWE-6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants