Git Product home page Git Product logo

Comments (11)

utkusen avatar utkusen commented on August 28, 2024

Could you please try to use the compiled-binary for Windows? https://github.com/utkusen/urlhunter/releases

from urlhunter.

DamianMorozov avatar DamianMorozov commented on August 28, 2024

Downloaded and unpack urlhunter_0.1.1_Windows_amd64.zip.
Copied the archives\urlteam_2020-12-28-03-17-02\ to the new folder.
Copied the keywords.txt.
Run the command urlhunter.exe -date latest -keywords keywords.txt -o out.txt
And then i have the same error.
Search starting for: latest urlteam_2020-12-28-03-17-02 Archive already exists! panic: runtime error: index out of range [1] with length 1

from urlhunter.

 avatar commented on August 28, 2024

from urlhunter.

DamianMorozov avatar DamianMorozov commented on August 28, 2024

Can you solve that issues?

from urlhunter.

utkusen avatar utkusen commented on August 28, 2024

I will check it soon

from urlhunter.

DamianMorozov avatar DamianMorozov commented on August 28, 2024

Hello, do you have any news?

from urlhunter.

rzhade3 avatar rzhade3 commented on August 28, 2024

Hi @DamianMorozov! Looks like the issue is that we're splitting the filename on / whereas on Windows the default path separator is \.

path := strings.Split(fileLocation, "/")[1] + "/" + strings.Split(fileLocation, "/")[2]

If we change the strings.Split on that line to a filepath.Split followed by a filepath.Join, it should fix this bug.

from urlhunter.

B4RD4k avatar B4RD4k commented on August 28, 2024

Can you please update with the fixed version??

from urlhunter.

rzhade3 avatar rzhade3 commented on August 28, 2024

@B4RD4k I pushed up a PR #13 which should fix this issue. However, I don't have a Windows machine to verify this. Do you think you could try building it from source to verify that this issue has been addressed?

from urlhunter.

B4RD4k avatar B4RD4k commented on August 28, 2024

Thanks @rzhade3

It worked.

from urlhunter.

rzhade3 avatar rzhade3 commented on August 28, 2024

@utkusen Could you please release a new version of URLHunter with the patch in #13 included?

from urlhunter.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.