avoid wget adding filehash to xpi file from amo
avoid wget adding filehash to xpi file from amo
Trying FlashGot with wget in SeaMonkey 2.53 (to get the correct file date) i see an issue with xpi files from amo or atn. it adds filehash to the file name while the download manger doesn't. Is this a FlashGot or a wget issue and how can it be avoided?
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5
Re: avoid wget adding filehash to xpi file from amo
I have seen hashes on the palemoon end, ca-archive in particular.
Don't think I've seen that on AMO?
Anyhow, any junk that follows the "URL" will come from the source.
(AMO might make note of the button clicked, or the "source" [like &search], or other crap)
A download manager may or may not parse the crap parts out.
MS too may add hashes to their downloads. But in that case, the hash is part of the file name.
On the odd times I may have used wget to download a .xpi, I don't recall the file date to be off?
If I download, using wget - from command-line...
I get "noscript_security_suite-11.0.3-an+fx.xpi@src=featured" (as I'd expect), dated correctly.
(Remove the @src=featured part & all is well. Or I could have done that initially when I pasted the link.
AMO, sucks, is prejudicial again anything that is not "firefox".)
Don't think I've seen that on AMO?
Code: Select all
https://addons.palemoon.org/?component=download&id=AdvancedNightMode@Off.JustOff&version=1.0.9&hash=8659729bbf0142077b866646352b9198ea30d85dec811007b23b283f5b7fa236
(AMO might make note of the button clicked, or the "source" [like &search], or other crap)
A download manager may or may not parse the crap parts out.
MS too may add hashes to their downloads. But in that case, the hash is part of the file name.
Code: Select all
windowsxp-kb4500331-x86-custom-enu_d7206aca53552fececf72a3dee93eb2da0421188.exe
On the odd times I may have used wget to download a .xpi, I don't recall the file date to be off?
If I download, using wget - from command-line...
Code: Select all
https://addons.mozilla.org/firefox/downloads/file/3383315/noscript_security_suite-11.0.3-an+fx.xpi?src=featured
(Remove the @src=featured part & all is well. Or I could have done that initially when I pasted the link.
AMO, sucks, is prejudicial again anything that is not "firefox".)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5
Re: avoid wget adding filehash to xpi file from amo
Trying cURL it doesn't add ?filehash... but ?src..., weird.
BTW, cURL give the correct file time/date too when the remote-time command is added in .curlrc
BTW, cURL give the correct file time/date too when the remote-time command is added in .curlrc
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5
Re: avoid wget adding filehash to xpi file from amo, got it with aria2
Finally got it with aria2 which also can be set to remot-time with remote-time=true in the .aria2/aria2.conf file
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5