summaryrefslogtreecommitdiff
path: root/src/ingestor.hpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-09-11 00:01:46 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-09-13 13:23:36 +0100
commitc8f0fb73e49f6b6b6ac1690c585c25ab7dbd2b88 (patch)
tree226902d06f71c3330cd9c6f9c4a2cfefe4920862 /src/ingestor.hpp
parentde682ca8f4908e058d4821684b13e35369bcc493 (diff)
downloadwebstat-c8f0fb73e49f6b6b6ac1690c585c25ab7dbd2b88.tar.bz2
webstat-c8f0fb73e49f6b6b6ac1690c585c25ab7dbd2b88.tar.xz
webstat-c8f0fb73e49f6b6b6ac1690c585c25ab7dbd2b88.zip
Always pass API URL to curlGetUserAgentDetail
Diffstat (limited to 'src/ingestor.hpp')
-rw-r--r--src/ingestor.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ingestor.hpp b/src/ingestor.hpp
index d9d49a3..f181ea3 100644
--- a/src/ingestor.hpp
+++ b/src/ingestor.hpp
@@ -31,6 +31,8 @@ namespace WebStat {
template<typename... T> void storeLogLine(DB::Connection *, const std::tuple<T...> &) const;
+ std::string userAgentAPI = "https://useragentstring.com";
+
protected:
size_t linesRead = 0;
size_t linesParsed = 0;