UNPKG

article-parser

Version:

To extract main article from given URL

21 lines (20 loc) 794 B
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta content="width=device-width,initial-scale=1" name="viewport"> <meta content="https://somewhere.any/pages/no-article" property="og:url"/> <title>Article title TechNews</title> </head> <body> <article> <img data-src="https://somewhere.any/image1.jpg" src="https://somewhere.any/lazy-image.jpg"> Few can name an easygoing deer that isn't a frank hamster. One cannot separate tangerines from excellent oranges. <img src="https://somewhere.any/image2.jpg"> The literature would have us believe that a dazzling seal is not but a bee? Some posit the nice strawberry to be less than fair-minded. Washing and polishing the car,a monkey is the monkey of a turtle; </article> </body> </html>