There are a couple of ways you could retrieve from python or command line, none likely to be easy to work with a volume of data. The command line can save different formats of fact lists (such as CSV) that some use for exact matches on fact QNames, the API can do the same (I believe there are examples on loading instances and retrieving by QName from the instance.
However I'd think using the XBRL database might be another way to access the entire set of filings. There's an XBRL database documentation page, and downloads of pre-loaded database dumps, and that's an alternate way of directly accessing filing such facts.
In any case we're currently involved in several efforts for normalizing data. Individual filings are quite some choice in how they tag facts, and it may take an understanding of the presentation structure to (a) find how SalesRevenueNet and NetIncomeLoss got tagged, and (b) which schedules might have reported the values needed.
Herm