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

cannot unmarshal array into Go struct field App.technologies.meta of type string #45

Closed
dogasantos opened this issue Feb 4, 2021 · 9 comments

Comments

@dogasantos
Copy link

dogasantos commented Feb 4, 2021

Hey there!
Thanks for this port, this is really awesome!

I'm havin an issue with, are you guys seeing this too ?

2021/02/04 19:21:07 initialization failed: json: cannot unmarshal array into Go struct field App.technologies.meta of type string

version 0.3.2
Ty

@revitteth
Copy link

Looks like an update to the json there is causing issues, for now try this version of the apps:

https://raw.githubusercontent.com/AliasIO/wappalyzer/965f0fcad60c8dc774e8b949ca01b12565f2de09/src/technologies.json

@PFAhard
Copy link

PFAhard commented Feb 7, 2021

It's Don't help

@rverton
Copy link
Owner

rverton commented Feb 7, 2021

I guess its because wappalyzer changed their JSOn structure again, as @maxrev17 suggested. I think I can have a look later/tomorrow.

@dogasantos
Copy link
Author

dogasantos commented Feb 9, 2021

Thanks for the update.
@maxrev17 workaround works just fine.

I'd recommend keep a validated copy of technologies.json whitin the repository.
In case any change happens in the future, this tool will still work until an update is released.

@rverton
Copy link
Owner

rverton commented Feb 11, 2021

@dogasantos thats a good idea. I checked the license and it looks like I can just include it because both are MIT.

I will fix the current schema and add the current technologies.json as a base to the repository in the next commit.

@rverton
Copy link
Owner

rverton commented Feb 11, 2021

I pushed 4b7ed27 which fixes the schema bug. It also includes a current technologies.json file as suggested by @dogasantos. Feel free to check, I will tag and release later.

@dogasantos
Copy link
Author

Thanks @rverton !

@abdilahrf
Copy link

appreciate the update @rverton 👍 , i've got the same problem

@rverton rverton closed this as completed Oct 6, 2021
@BartBaj
Copy link

BartBaj commented Mar 26, 2024

Hello, what I see the issue comes back.
└─$ webanalyze -update
2024/03/26 09:43:02 app definition file updated from https://raw.githubusercontent.com/AliasIO/Wappalyzer/master/src/apps.json

└─$ webanalyze -host resources.bayer.com.au
2024/03/26 09:45:39 initialization failed: json: cannot unmarshal number into Go value of type webanalyze.AppsDefinition

So what I understand from the previous discussion, it should be updated from technologies.json rather than apps.json?

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

6 participants