Commit Graph

10 Commits

Author SHA1 Message Date
Alexey Yerin 10f6067580 Rename template-dir to templates-dir
Plural makes more sense as there are multiple templates.
2021-01-23 00:16:07 +03:00
Alexey Yerin 4c82aced4b Move request handlers out of main.go 2021-01-22 23:44:50 +03:00
Alexey Yerin 73eafb0251 Remove --tor option 2021-01-22 12:20:27 +03:00
Alexey Yerin 9f3f2fbb4a Add -T option to mimic Tor Browser's User-Agent 2021-01-18 23:30:26 +03:00
Alexey Yerin e471749a85 Run go fmt 2021-01-18 23:25:57 +03:00
Alexey Yerin ef9c46bdbe Pass a struct instead of settings directly 2021-01-18 23:22:20 +03:00
Alexey Yerin fc80e5334b Add --user-agent option 2021-01-18 23:09:19 +03:00
Alexey Yerin 7a297bb0d8 Add --proxy option 2021-01-18 23:02:00 +03:00
Alexey Yerin 1a32c713bc Merge api.go into main.go
It would be really painful to provide variables there
2021-01-18 22:52:33 +03:00
Alexey Yerin 065bd6cfb0 Initial 2021-01-17 23:19:52 +03:00