From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D198D1382C5 for ; Fri, 5 Jun 2020 17:44:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE7A7E08EF; Fri, 5 Jun 2020 17:44:32 +0000 (UTC) Received: from st43p00im-ztdg10063201.me.com (st43p00im-ztdg10063201.me.com [17.58.63.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7157AE08DC for ; Fri, 5 Jun 2020 17:44:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1591379070; bh=gvwVbmUYS2lZpN/PzUZMGOH2gyKaqEo2pdvSdRHcmlM=; h=Date:From:To:Subject:Message-ID:Content-Type; b=r+KzZR20K/6aPrmnSCFg8aLVgoum8CNm1SI8TTo3xTqo06Vy4yvmmi72WOW8M08Sp C5OnVH3Yo+lw82d47E9F6ISO7BxEkenJ+MBIJ9YK7WiKMTLM2wXdDRUIBNo5ESA+OO 3e8cOlvqAKp4dNQ9/5EX3sIbRb1sDeUzMS9JKCC1TMWfV27HF4ar2aH/TNtJ1FLSFU d85snm5ouppDbsdy6coWPtP6q4mpbUw14feyHFp2mbFYYxxfEq55kuv2/HOUHAPBNv iLaFQOmNoZRt9q5dRFI0Xln5KYTFchTL4oDZzK+KbcqObIrQVr55iCOAsxVuk6Bm3+ njKLtZX2lk5fw== Received: from garantiertgentoo (static-5-102-164-140.net.encoline.de [5.102.164.140]) by st43p00im-ztdg10063201.me.com (Postfix) with ESMTPSA id 4476F540B93 for ; Fri, 5 Jun 2020 17:44:30 +0000 (UTC) Date: Fri, 5 Jun 2020 19:44:25 +0200 From: garantiertnicht@me.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Got a json file from YouTube... Message-ID: <20200605174425.GA20978@garantiertgentoo> References: <20200605172632.aabva7hjss5bnpbv@solfire> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200605172632.aabva7hjss5bnpbv@solfire> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.687 definitions=2020-06-05_05:2020-06-04,2020-06-05 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=771 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2006050132 X-Archives-Salt: 05164544-7298-49d9-9e32-841bfce37e49 X-Archives-Hash: 3992fa53de2bbf2e17259f2c3708f0f7 tuxic@posteo.de; 2020-06-05T19:26:32+0200: > Hi, > > via https://youtuberandomcomment.com/ ->Download all is it possible > to download all comments of a YouTube-Video....as a json file, which > contains exactly one, very long line. > > This is exactly the formatting I would prefer to read > threaded comments ....; > > Is there something in portage, which is recommended to > reformat/display this json-input into something more > readable...? > > Cheers! > Meino > > > Hello, I'm usually using app-misc/jq for all my json needs. It isn't exactly a json pretty-printer but more of a swiss army knife for extracting data from json. It does formatting, tho :) You could also try your Web User Agent. My Firefox already does format json, so maybe you could try open it there if you just want to read it. Regards, garantiertnicht