#archiveteam-ot 2018-09-17,Mon

↑back Search

Time Nickname Message
00:21 🔗 BlueMax has joined #archiveteam-ot
00:54 🔗 w0rmhole is there a mediawiki viewer? preferrably one that works on macOS
00:55 🔗 w0rmhole aka mediawiki dump viewer
01:00 🔗 ivan kiwix but I think it needs dumps in a special format
01:01 🔗 w0rmhole not the wikimedia output format i.e. https://dumps.wikifur.com/aarddict/
01:01 🔗 ivan http://www.openzim.org/wiki/Build_your_ZIM_file
01:01 🔗 w0rmhole or https://dumps.wikifur.com/
02:00 🔗 icedice has quit IRC (Quit: Leaving)
02:17 🔗 coldice has joined #archiveteam-ot
03:35 🔗 kiskabak2 has quit IRC (Quit: The Lounge - https://thelounge.github.io)
03:40 🔗 kiskabak has joined #archiveteam-ot
03:48 🔗 w0rmhole anyone know how to "grep" the value from a json file? for example, i want to get the value of "upload_date" from a youtube video's info.json file and rename a folder to be the date. so if upload_date: 20181123, then it would name the folder 2018112
03:48 🔗 w0rmhole sorry hit enter on accident, disregard that message
03:49 🔗 w0rmhole anyone know how to "grep" the value from a json file? for example, i want to get the value of "upload_date" from a youtube video's info.json file and rename a folder to be the date. so if upload_date: 20181123, then it would name the folder 20181123. i poked around with cat and grep to no success (tried cat info.json | grep 'upload_date:')
03:50 🔗 astrid there is a utility called 'jq' which will do what you want
03:50 🔗 w0rmhole i `brew install jq' a while ago
03:50 🔗 w0rmhole and i have it, but idk how to use it
03:51 🔗 w0rmhole it said something about compiling which i dont want to do that
04:01 🔗 odemg has quit IRC (Ping timeout: 260 seconds)
04:13 🔗 odemg has joined #archiveteam-ot
08:07 🔗 Mateon1 has quit IRC (Ping timeout: 268 seconds)
08:07 🔗 Mateon1 has joined #archiveteam-ot
09:36 🔗 caff has quit IRC (Read error: Connection reset by peer)
10:50 🔗 JAA You should use a proper JSON tool like jq, but it is possible to do it with grep as well as long as it's not too complex (e.g. multiple occurrences of upload_date). Something like this: grep -Po '"upload_date"\s*:\s*"\K[^"]+'
10:50 🔗 JAA w0rmhole: ^
10:56 🔗 moufu there's https://github.com/TomNomNom/gron too
11:05 🔗 ivan https://github.com/ludios/quickmunge/blob/master/bin/gron
13:13 🔗 BlueMax has quit IRC (Quit: Leaving)
13:30 🔗 erin has quit IRC (hub.efnet.us irc.servercentral.net)
13:30 🔗 zino has quit IRC (hub.efnet.us irc.servercentral.net)
13:30 🔗 MrRadar has quit IRC (hub.efnet.us irc.servercentral.net)
13:30 🔗 astrid has quit IRC (hub.efnet.us irc.servercentral.net)
13:30 🔗 chirlu` has quit IRC (hub.efnet.us irc.servercentral.net)
14:00 🔗 erin has joined #archiveteam-ot
14:00 🔗 zino has joined #archiveteam-ot
14:00 🔗 MrRadar has joined #archiveteam-ot
14:00 🔗 astrid has joined #archiveteam-ot
14:00 🔗 chirlu` has joined #archiveteam-ot
14:23 🔗 faolingfa has joined #archiveteam-ot
14:32 🔗 zino has quit IRC (Read error: Connection reset by peer)
14:33 🔗 zino has joined #archiveteam-ot
14:55 🔗 schbirid has joined #archiveteam-ot
15:45 🔗 godane has quit IRC (Read error: Operation timed out)
15:59 🔗 godane has joined #archiveteam-ot
16:00 🔗 svchfoo1 sets mode: +o godane
16:31 🔗 wp494 has quit IRC (Ping timeout: 252 seconds)
16:32 🔗 wp494 has joined #archiveteam-ot
19:19 🔗 schbirid has quit IRC (Read error: Operation timed out)
19:31 🔗 Nicu` has joined #archiveteam-ot
19:33 🔗 odemg has quit IRC (Ping timeout: 260 seconds)
20:18 🔗 Nicu` has quit IRC (Ping timeout: 255 seconds)
22:30 🔗 coldice has quit IRC (Quit: Leaving)
23:40 🔗 BlueMax has joined #archiveteam-ot

irclogger-viewer