Git Product home page Git Product logo

Comments (4)

JokerQyou avatar JokerQyou commented on June 17, 2024 1

I think I have figured it out. My macOS laptop connects to this website directly, from China. But my Linux server does not. This website seems to put a read more button for foreign visitors only. If I force macOS to use proxy, the resulted HTML file also contains this read more button.

Glad to know monolith honors HTTP_PROXY env var, though.

from monolith.

snshn avatar snshn commented on June 17, 2024

This is very peculiar... thank you for reporting this (I love puzzles!) Thankfully I have both GNU/Linux and macOS to recreate the scenario, I'll try it now and see what I get.

from monolith.

snshn avatar snshn commented on June 17, 2024

After trying to reproduce the behavior, I have to say that I failed to get different outputs from monolith on macOS and GNU/Linux: the document gets saved with the rest of the article hidden on both OSs. I'd like to recommend saving it with the -c flag, that way the page would lose its style, but as a side-effect you'll be able to see all its text (usually works fantastic for articles paywalled via CSS).

To solve the mystery, could you please do diff on both of those versions you get? That could give a good clue on why it's happening.

Thank you once again for the report.

from monolith.

JokerQyou avatar JokerQyou commented on June 17, 2024

The diff is rather large.

image

In case it helps, I've attached all the files. Diff command was diff macos.html linux.html > diff.txt.

diff.txt
html_files.zip

The Linux version of monolith I used can be downloaded from here.

from monolith.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.