laharah / calibre-access Goto Github PK
View Code? Open in Web Editor NEWSee who's been using your calibre server
License: MIT License
See who's been using your calibre server
License: MIT License
Hi
Thanks, this look good
after the first run I get the following
[user@user]:(5.1kb)~/calibre-access$ calibre-access ~/.config/calibre/server_access_log.txt Traceback (most recent call last): File "/usr/local/bin/calibre-access", line 11, in <module> load_entry_point('calibre-access==1.3.4', 'console_scripts', 'calibre-access')() File "build/bdist.linux-x86_64/egg/calibre_access/calibre_access.py", line 354, in main File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 137, in time_filter File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 85, in get_os_from_agents File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 116, in get_locations File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 41, in get_records File "build/bdist.linux-x86_64/egg/calibre_access/calibre_access.py", line 116, in download_coro File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 111, in coro_from_gen File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 79, in parse_generic_server_log_line File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 75, in <lambda> File "/usr/lib/python2.7/_strptime.py", line 332, in _strptime (data_string, format)) ValueError: time data 'calibre 04/Nov/2018:15:50:26 +0100' does not match format '%d/%b/%Y:%H:%M:%S'
the log looks like this
8.8.8.8 port-47837 - 05/Nov/2018:06:19:35 +0100 "GET /get/thumb/5616/calibre-library?sz=300x400 HTTP/1.1" 401 292 8.8.8.8 port-47828 - 05/Nov/2018:06:19:35 +0100 "GET /get/thumb/5611/calibre-library?sz=300x400 HTTP/1.1" 401 292 8.8.8.8 port-47835 - 05/Nov/2018:06:19:35 +0100 "GET /get/thumb/5615/calibre-library?sz=300x400 HTTP/1.1" 401 292 8.8.8.8 port-47836 - 05/Nov/2018:06:19:35 +0100 "GET /get/thumb/5614/calibre-library?sz=300x400 HTTP/1.1" 401 292 8.8.8.8 port-47837 - 05/Nov/2018:06:19:35 +0100 "GET /get/thumb/5613/calibre-library?sz=300x400 HTTP/1.1" 401 292 8.8.8.8 port-48500 - 05/Nov/2018:06:19:35 +0100 "GET /get/thumb/5612/calibre-library?sz=300x400 HTTP/1.1" 401 292
Do you have any idea why?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.