opsdisk / metagoofil

Search Google and download specific file types
Other
390 stars 81 forks source link

[fix] allow download from URLs without filename #8

Closed illordlo closed 6 years ago

illordlo commented 6 years ago

There was a bug that does not allow the automatic download of files when the URL does not finish with a filename, such as:

https://example.com/download/file/3913/

Now, if this is the case, the file is named as the last part of the URL (in this case, "3913").

opsdisk commented 6 years ago

Hi @illordlo Thanks for taking the time to submit a pull request! Give me a day or two to test it out before merging.

illordlo commented 6 years ago

You are welcome! Moreover, thanks a lot for maintaining this great tool!

opsdisk commented 6 years ago

Just fixed it in https://github.com/opsdisk/metagoofil/pull/9

Let me know if it doesn't work for your case.