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

New issue from last issue #9

Open
mazhengyan opened this issue Dec 5, 2024 · 4 comments · May be fixed by #10
Open

New issue from last issue #9

mazhengyan opened this issue Dec 5, 2024 · 4 comments · May be fixed by #10

Comments

@mazhengyan
Copy link

mazhengyan commented Dec 5, 2024

when handling the exception of issue "#7 list index out of range" which was fixed, another exception occurred. Please see the attached screenshot:

image

@Francesco146
Copy link
Contributor

uhh, i didn't know you can't catch an error like that in py. now it should suppress that error and explain to you what you have to do in order to make the tool work. since the script is extremely modular, and taking for granted that OneDrive doesn't have the same html tags for every account/location/time period, simply open the pdf file in the browser and add the missing, or obsolete, tags to the configuration (at the beginning of the file). rn the tool has only my config, but you can create a PR and add your own tags (so other people that have your config can use the tool without trouble). i hope i made myself clear enough

@mazhengyan
Copy link
Author

Sorry, I dont understand at all. I just came across this tool and want to download a view-only (restricted by the company) pdf from onedrive.
"simply open the pdf file in the browser and add the missing, or obsolete, tags to the configuration (at the beginning of the file)"
what missing tags? what is the "configuration"? and how to add it?

"rn the tool has only my config, but you can create a PR and add your own tags"
What config? What is PR? What is my own tags?

@Francesco146
Copy link
Contributor

ok, i'll update the readme with this type of information, however this tool is expected to be used by people who, more or less, know how to see and read an HTML page.

the basic thing is that the tool can't work on all OneDrive "versions" since they change almost every hour, in any language OneDrive is served. so the user is expected to know how to "calibrate" the tool for his needs

@mazhengyan
Copy link
Author

Hi, highly appreciate if you could please tell me in detail how to read and update the HTML page ("add tags" as you said) to make the tool work.

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