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

Unable to save long URL filenames by default #202

Open
nekromoff opened this issue Oct 13, 2023 · 0 comments
Open

Unable to save long URL filenames by default #202

nekromoff opened this issue Oct 13, 2023 · 0 comments

Comments

@nekromoff
Copy link

./gowitness single "https://www.facebook.com/ads/archive/render_ad/?id=XXXXXXXXXXXXXX&access_token=EAASzdogiovIBO5KtxZCfccj1mz75YkSh8Ud9Ovm58FTncrqXRc0XJldQ65yEPymb3kjzKbBZBuZBiCrRv2ncYf4LzyR7HcTj9xJv4vFvBZCbTPYVbdvD7bHdPx2xABCCCsZBwuRfyG1hIeVkcn0nsKE5kmyE7JuGHZCTIneZAzW44DueUoP6PIsCSgonqY6B2uyIL7GwwZDZD"
13 Oct 2023 17:33:47 INF preflight result statuscode=200 title=Facebook url=https://www.facebook.com/ads/archive/render_ad/?id=XXXXXXXXXXXXXX&access_token=EAASzdogiovIBO5KtxZCfccj1mz75YkSh8Ud9Ovm58FTncrqXRc0XJldQ65yEPymb3kjzKbBZBuZBiCrRv2ncYf4LzyR7HcTj9xJv4vFvBZCbTPYVbdvD7bHdPx2xACCCsZBwuRfyG1hIeVkcn0nsKE5kmyE7JuGHZCTIneZAzW44DueUoP6PIsCSgonqY6B2uyIL7GwwZDZD
13 Oct 2023 17:33:53 ERR failed to save screenshot buffer error="open screenshots/https-www.facebook.com-ads-archive-render-ad-id-xxxxxxxxxxxxxxxxx-access-token-eaaszdogiovibo5ktxzcfccj1mz75yksh8ud9ovm58ftncrqxrc0xjldq65yepymb3kjzkbbzbuzbicrrv2ncyf4lzyr7hctj9xjv4vfvbzcbtpyvbdvd7bhdpx2xaccccszbwurfyg1hievkcn0nske5kmye7jughzctinezazw44dueuop6piscsgonqy6b2uyil7gwwzdzd.png: file name too long"

To Reproduce
Steps to reproduce the behavior:

  1. Use some long URL
  2. Error while saving

Expected behavior
URL properly shortened to a working filename. Maybe use uniqe id or some random hash.

Version Information:

  • OS: Linux, but probably irrelevant
  • gowitness: latest (master)
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

1 participant