How to import web page text from any URL into Google Docs?

seojen

Supreme Member
Joined
Dec 2, 2018
Messages
1,271
Reaction score
531
Since we have a great privilege of having so many techy people with us here on BHW,
Can you please illustrate me on how I can automatically import blog posts from any URL into my Google document?
 
How many blogposts are we talking about? You can do this using python.

Or you can try this tutorial https://oxylabs.io/blog/web-scraping-sheets
Thanks for this share, I highly appreciate.
Anyways, what I need is to be able to extract text fron any url, for that I was thinking of something like a Google doc extension.
I'll have to spare some time to go through the tutorial you shared above.
 
It depends if you own or not that site. For example with WordPress, you could easily query the WP-API and fetch the content with perfection

But if you don't own that site, you might be analyzing the HTML to see if there are some cues on it that clearly suggest you what is the main text, for example an article html tag. With python as already suggested and a library like BeautifulSoup you can accomplish this with certain degree of ease

Check this simple tutorial
 
It depends if you own or not that site. For example with WordPress, you could easily query the WP-API and fetch the content with perfection

But if you don't own that site, you might be analyzing the HTML to see if there are some cues on it that clearly suggest you what is the main text, for example an article html tag. With python as already suggested and a library like BeautifulSoup you can accomplish this with certain degree of ease

Check this simple tutorial
I don't own those sites;
Then I think python is the way to go :p
 
I built a tool to help me with research and to import web articles in Google Docs, it's an add-on called DocPress where you add the link and it will import the entire article of that page.
From there you can do different things, rewrite it for a newsletter, summarize it, translate it into over 30 languages and more with gpt-4o. From there you can export it to your WP blog in just a few clicks. You can find it in the Google WorkSpace marketplace or I can send you the link if you wish.
 
Back
Top