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

panic: invalid line when parsing one of the urls #19

Open
snicket2100 opened this issue Mar 18, 2023 · 0 comments
Open

panic: invalid line when parsing one of the urls #19

snicket2100 opened this issue Mar 18, 2023 · 0 comments

Comments

@snicket2100
Copy link

Steps to reproduce:

echo "google" >key1.txt; urlhunter --keywords key1.txt --date 2023-03-15:2023-03-15 --output a.txt

Output:


	o  	 Utku Sen's
	\_/\o
	( Oo)                    \|/
	(_=-)  .===O-  ~~U~R~L~~ -O-
	/   \_/U'        hunter  /|\
	||  |_/
	\\  |    utkusen.com
	{K ||	twitter.com/utkusen

 
Search starting for: 2023-03-15
[+]: urlteam_2023-03-15-20-17-01 already exists locally. Skipping download..
[+]: Searching: "google" in urlteam_2023-03-15-20-17-01/ed-gr
[+]: Searching: "google" in urlteam_2023-03-15-20-17-01/goo-gl
panic: invalid line: yRjCQD|http://www.priceminister.com/offer/buy/853650105/google-chromecast-audio-noir.html?t=180110&ptnrid=pt%7C89084411603%7Cc%7C53388079763%7C853650105&gclid=CK_R94KCvswCFZadGwod1bQLdA#sort=0&bbaid=1919751435&filter=20&xtatc=PUB-%5Bggp%5D-%5BHifi%5D-%5Baccessoire-audio-video%5D-%5B853650105%5D-%5Boccasion%5D-%5BTop_Occasion%5D&t=&ptnrid=s16SUVAfu_dc|pcrid|53388079763|pkw||pmt|&ja1=tsid:67590|cid:285246443|agid:14445716363|tid:pla-89084411603|crid:53388079763|nw:g|rnd:3013699068986104353|dvc:c|adp:1o2

goroutine 1 [running]:
main.searchFile({0xc0003786c0, 0x36}, {0xc000599dc9, 0x6}, {0x7ffe85ef8071, 0x5})
	github.com/utkusen/urlhunter/main.go:276 +0x70e
main.getArchive({0xc000436000, 0x1cec1, 0x20000}, {0xc00013e010, 0xa}, {0x7ffe85ef8042, 0x8}, {0x7ffe85ef8071, 0x5})
	github.com/utkusen/urlhunter/main.go:222 +0x5e9
main.main()
	github.com/utkusen/urlhunter/main.go:114 +0x6c5
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