News for hackers. Stuff that matters.
Re:Why good content gets posted on the wrong platform? by 1vuio0pswjnm7 on Monday January 29, 2024 @01:23AM (#39173315)
How to read the NYT on the web using early 90s-style web clients.

usage: 1.sh [section]

    #!/bin/sh
    test $1||exec sed -n '/[^/];;.*)/p' $0
    case $1 in :)    
    ;;fashion ) 
    break
    ;;crosswords ) 
    break
    ;;us )
    break
    ;;briefing )
    break
    ;;sports )
    break
    ;;opinion )
    break
    ;;magazine )
    break
    ;;theater )
    break
    ;;style )
    break
    ;;business )
    break
    ;;technology )
    break
    ;;realestate )
    break
    ;;t-magazine )
    break
    ;;climate )
    break
    ;;nyregion )
    break
    ;;arts )
    break
    ;;obituaries )
    break
    ;;dining )
    break
    ;;health )
    break
    ;;briefing )
    break
    ;;well )
    break
    ;;learning )
    break
    ;;science )
    esac
    exec ftp -4o'|sed -n "/\"guid\":/{s/.* \"//;s/\",//p;}"' https://static01.nyt.com/services/json/sectionfronts/$1/index.jsonp

For example, in the "World" section there are 20 URLs in the JSON.

All of these articles are available in the Internet Archive, only one is truncated by a "paywall".

Javascript is not required to read these at IA using a text-only browser.

For example, here are the first 5 as they appear in the JSON

https://web.archive.org/web/20240128080606if_/https://www.ny...

https://web.archive.org/web/20240128050905if_/https://www.ny...

https://web.archive.org/web/20240128101334if_/https://www.ny...

https://web.archive.org/web/20240128102228if_/https://www.ny...

https://web.archive.org/web/20240128132850if_/https://www.ny...

URL #20 is a page containing URLs for 82 videos. All of them appear to be available in the Internet Archive. (Note I did not test all 82.)

For example, here are the first 5 1080p videos as they appear in the HTML. There appears to be no advertising. (Note I did not watch all the videos.)

https://web.archive.org/web/20240128012239/https://vp.nyt.co...

https://web.archive.org/web/20240128012239/https://vp.nyt.co...

https://web.archive.org/web/20240128012239/https://vp.nyt.co...

https://web.archive.org/web/20240128012239/https://vp.nyt.co...

https://web.archive.org/web/20240128012239/https://vp.nyt.co...

A "modern" web browser, Javascript and so on was not required.

It's still possible to access the web from the command line as people did in the early 90s when using the original "line mode browser".

https://www.w3.org/Clients.html

https://info.cern.ch/hypertext/WWW/LineMode/Browser.html

https://www.w3.org/LineMode/

Cannot speak for anyone else, but I prefer the non-commercial clients of the early web to the ones today controlled by so-called "tech" companies.

There are no comments on this comment yet.