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

Output file document does not match expectations #326

Open
realxnesia opened this issue Feb 19, 2024 · 0 comments
Open

Output file document does not match expectations #326

realxnesia opened this issue Feb 19, 2024 · 0 comments
Labels
bug for issue

Comments

@realxnesia
Copy link

realxnesia commented Feb 19, 2024

Provide environment information

  • which python: python: aliased to /usr/bin/python3
  • python --version: Python 3.9.6
  • python -m pip list | grep gdown :
    CleanShot 2024-02-19 at 15 51 50@2x

What OS are you using?

macOS Sonoma 14.1.2 (23B92)

Describe the Bug

The output file I expected, namely docx, was not converted correctly. instead the output is like this:
CleanShot 2024-02-19 at 15 29 54@2x
Its still not downloading the file , its just storing the html & js and the file name is also not correct.

I know this issue has been fixed here, but when I try it by creating it via pyhton script or trying it via terminal, the results are immediately the same.

Expected Behavior

  1. I want to execute gdown from terminal directly (gdown bla bla bla ...)
  2. File docx with the followeing format:
    <name>.<format>
    ex: release-note.docx or release-note.txt

To Reproduce

Command_1:

gdown "https://docs.google.com/document/d/14H2_vSH5ACnjBxp2H58zyr2sKWBcqJL0cLY8AW4hoiw/edit\#heading\=h.ehk6vuubwdju" --fuzzy --format docx
Result :
CleanShot 2024-02-19 at 15 38 52@2x
CleanShot 2024-02-19 at 15 39 19@2x

Command_2:

gdown "https://docs.google.com/document/d/14H2_vSH5ACnjBxp2H58zyr2sKWBcqJL0cLY8AW4hoiw/edit\#heading\=h.ehk6vuubwdju" --fuzzy --format docx -O release-note
Result:
CleanShot 2024-02-19 at 15 40 50@2x
CleanShot 2024-02-19 at 15 41 42@2x

Command_3:

gdown "https://drive.google.com/uc\?id\=14H2_vSH5ACnjBxp2H58zyr2sKWBcqJL0cLY8AW4hoiw" --fuzzy --format docx
Result:
The result is the same as Command_1

You can try this url :

https://docs.google.com/document/d/1fuigw1xi_WLonTk8e8UOCfVEF7ek9zoZR25gBs3InsI/edit?usp=sharing or https://docs.google.com/document/d/1fuigw1xi_WLonTk8e8UOCfVEF7ek9zoZR25gBs3InsI/edit#heading=h.kch8f9vxsrf5

Thank you in advance,

@realxnesia realxnesia added the bug for issue label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug for issue
Projects
None yet
Development

No branches or pull requests

1 participant