How to get plain text version of rendered page?phantomjs not waiting for “full” page loadA GUI to debug phantomjs scriptSearch and copy text from Source pageGet the raw page content with PhantomJSHow to communicate PHP with PhantomJS for solving CaptchasPhantomJS how to render javascript in html stringphantomjs render page to picture more than two times throw error when javascriptEnabled is trueHow to get data from commandline wappalyzer phantomjs?PhantomJs can't render a specific page from sourceRendering a user modified page using PhantomJS

Received a dinner invitation through my employer's email, is it ok to attend?

Print the last, middle and first character of your code

When casting Eldritch Blast with the Agonizing Blast eldritch invocation, what do I add to my damage roll?

Why did Harry Potter get a bedroom?

How would vampires avoid contracting diseases?

Why do players in the past play much longer tournaments than today's top players?

Sending less data than the TCP buffer could take

Finding the nth term of sequence of 3, 10, 31, 94, 283...

Matchmaker, Matchmaker, make me a match

Is anyone advocating the promotion of homosexuality in UK schools?

How did the hit man miss?

For a hashing function like MD5, how similar can two plaintext strings be and still generate the same hash?

How is angular momentum conserved for the orbiting body if the centripetal force disappears?

Why isn't pressure filtration popular compared to vacuum filtration?

Storming Area 51

How do you glue a text to a point?

Should disabled buttons give feedback when clicked?

Terry Pratchett book with a lawyer dragon and sheep

Reverse dots and boxes, swastika edition

Was I subtly told to resign?

Changing trains in the Netherlands

Cops: The Hidden OEIS Substring

RPI3B+: What are the four components below the HDMI connector called?

Confirming the Identity of a (Friendly) Reviewer After the Reviews



How to get plain text version of rendered page?


phantomjs not waiting for “full” page loadA GUI to debug phantomjs scriptSearch and copy text from Source pageGet the raw page content with PhantomJSHow to communicate PHP with PhantomJS for solving CaptchasPhantomJS how to render javascript in html stringphantomjs render page to picture more than two times throw error when javascriptEnabled is trueHow to get data from commandline wappalyzer phantomjs?PhantomJs can't render a specific page from sourceRendering a user modified page using PhantomJS






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am running PHP PhantomJs and I am looking to get plain text version of webpage.
Right now i am using :
echo $response->getContent();
Which brings whole html source code of rendered page, I dont need that. I need to get rendered plain text from page.










share|improve this question




























    1















    I am running PHP PhantomJs and I am looking to get plain text version of webpage.
    Right now i am using :
    echo $response->getContent();
    Which brings whole html source code of rendered page, I dont need that. I need to get rendered plain text from page.










    share|improve this question
























      1












      1








      1








      I am running PHP PhantomJs and I am looking to get plain text version of webpage.
      Right now i am using :
      echo $response->getContent();
      Which brings whole html source code of rendered page, I dont need that. I need to get rendered plain text from page.










      share|improve this question














      I am running PHP PhantomJs and I am looking to get plain text version of webpage.
      Right now i am using :
      echo $response->getContent();
      Which brings whole html source code of rendered page, I dont need that. I need to get rendered plain text from page.







      phantomjs






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 26 at 2:40









      BorisBoris

      216 bronze badges




      216 bronze badges






















          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55349090%2fhow-to-get-plain-text-version-of-rendered-page%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55349090%2fhow-to-get-plain-text-version-of-rendered-page%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript