Code Monkey home page Code Monkey logo

detectdee's People

Contributors

piaolin avatar poq79 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

detectdee's Issues

Do not search anything

The instalation has made in a windows machine, i have downloaded the source code and compiled with go using wsl not work too, so i go away and try the .exe binary and nothing happen.

Installation image:

image

Error image:

image

Error when executing "sudo go run ."

github.com/sashabaranov/go-openai

/root/go/pkg/mod/github.com/sashabaranov/[email protected]/chat_stream.go:31:22: error: expected ‘;’ or ‘}’ or newline
31 | *streamReader[ChatCompletionStreamResponse]
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/chat_stream.go:63:74: error: expected ‘,’ or ‘}’
63 | streamReader: &streamReader[ChatCompletionStreamResponse]{
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream.go:15:22: error: expected ‘;’ or ‘}’ or newline
15 | *streamReader[CompletionResponse]
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream.go:52:64: error: expected ‘,’ or ‘}’
52 | streamReader: &streamReader[CompletionResponse]{
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:12:9: error: expected signature or type name
12 | ChatCompletionStreamResponse | CompletionResponse
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:15:21: error: expected ‘]’
15 | type streamReader[T streamable] struct {
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:17:9: error: expected declaration
17 | isFinished bool
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:19:9: error: expected declaration
19 | reader *bufio.Reader
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:20:9: error: expected declaration
20 | response *http.Response
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:21:9: error: expected declaration
21 | errAccumulator errorAccumulator
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:22:9: error: expected declaration
22 | unmarshaler unmarshaler
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:23:1: error: expected declaration
23 | }
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:25:27: error: expected ‘)’
25 | func (stream *streamReader[T]) Recv() (response T, err error) {
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:25:27: error: expected function name
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:25:27: error: expected ‘;’ or newline after top level declaration
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:28:17: error: expected declaration
28 | return
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:29:9: error: expected declaration
29 | }
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:33:1: error: expected declaration
33 | waitForData:
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:35:9: error: expected declaration
35 | if err != nil {
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:37:17: error: expected declaration
37 | if respErr != nil {
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:39:17: error: expected declaration
39 | }
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:40:17: error: expected declaration
40 | return
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:41:9: error: expected declaration
41 | }
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:44:9: error: expected declaration
44 | line = bytes.TrimSpace(line)
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:45:9: error: expected declaration
45 | if !bytes.HasPrefix(line, headerData) {
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:46:67: error: expected declaration
46 | if writeErr := stream.errAccumulator.write(line); writeErr != nil {
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:48:25: error: expected declaration
48 | return
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:49:17: error: expected declaration
49 | }
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:50:17: error: expected declaration
50 | emptyMessagesCount++
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:51:17: error: expected declaration
51 | if emptyMessagesCount > stream.emptyMessagesLimit {
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:53:25: error: expected declaration
53 | return
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:54:17: error: expected declaration
54 | }
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:56:17: error: expected declaration
56 | goto waitForData
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:57:9: error: expected declaration
57 | }
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:59:9: error: expected declaration
59 | line = bytes.TrimPrefix(line, headerData)
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:60:9: error: expected declaration
60 | if string(line) == "[DONE]" {
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:62:17: error: expected declaration
62 | err = io.EOF
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:63:17: error: expected declaration
63 | return
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:64:9: error: expected declaration
64 | }
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:66:9: error: expected declaration
66 | err = stream.unmarshaler.unmarshal(line, &response)
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:67:9: error: expected declaration
67 | return
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:68:1: error: expected declaration
68 | }
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:70:27: error: expected ‘)’
70 | func (stream *streamReader[T]) Close() {
| ^
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:70:27: error: expected function name
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:70:27: error: expected ‘;’ or newline after top level declaration
/root/go/pkg/mod/github.com/sashabaranov/[email protected]/stream_reader.go:72:1: error: expected declaration
72 | }
| ^

Small bug on the email search

Hello, I have a little problem with the e-mail search function. Basically, the program understands that I want to search for an e-mail but does not take the address that I have indicated on the terminal

image

参数无效

-e 和 -p 参数没有生效,查询时无法获取查询内容。

Command not found

I've installed it from github and I am able to run "go run ."

But after that any command I try yields a "command not found error".

See screenshot bellow.

2023-05-10 08_48_15-Lorna Cole  Running  - Oracle VM VirtualBox

Result.Txt is not open

Hi Team,

After Execution of Command, That prompt shows save to result.txt file. But I can't able to view that file. How Can we search the file. Need Your Support!

use url as module path

If you use the github URL as the module path in go.mod: module github.com/piaolin/DetectDee you can install it with:

go install github.com/piaolin/DetectDee@latest

Dont search by email and phone

Hi!
I try search by email and phone number but no results recieved. Windows and Linux has a same results. Result.txt is empty, no error messages. By username (-n) works.
Please, What could be the problem?

Email search doesn't work

I can see that email search simply queries the same URLs that are queried for usernames but replaces the part of the URL where the username would go with an email address. This is ineffective and does not generate any results on sites supported by the program. I suggest, for the time being, until proper email support is added, that the 'search by email' mention in the project's README.md file (along with 'search by phone') is removed.

No such file or directory

Have this in directory
~/DetectDee# ls
LICENSE README.md README_ZH.md cmd data.json exit go.mod go.sum main.go site.md t.json utils
-rw-r--r-- 1 root root 11357 May 5 13:23 LICENSE
-rw-r--r-- 1 root root 2459 May 5 13:23 README.md
-rw-r--r-- 1 root root 2229 May 5 13:23 README_ZH.md
drwxr-xr-x 2 root root 4096 May 5 13:23 cmd
-rw-r--r-- 1 root root 58044 May 5 13:23 data.json
-rw-r--r-- 1 root root 0 May 5 13:38 exit
-rw-r--r-- 1 root root 454 May 5 13:26 go.mod
-rw-r--r-- 1 root root 3650 May 5 13:26 go.sum
-rw-r--r-- 1 root root 456 May 5 13:23 main.go
-rw-r--r-- 1 root root 9387 May 5 13:23 site.md
-rw-r--r-- 1 root root 720 May 5 13:23 t.json
drwxr-xr-x 2 root root 4096 May 5 13:23 utils

When I do ./DetectDee detect -n piaolin

I get

-bash: ./DetectDee: No such file or directory

error found while install

go mod tidy
DetectDee/cmd imports
github.com/chromedp/chromedp imports
embed: malformed module path "embed": missing dot in first path element

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.