replace method name get_logs -> fetch_logs
refactor about opening url