link
stringlengths
43
392
https://www.huffpost.com/entry/judge-denies-request-bar-trump-statements-that-could-endanger-officers-classified-docs-case_n_6655fae6e4b022987c31b354
https://www.huffpost.com/entry/mercedes-anti-union-consultants_n_6655e9fbe4b052122749b67d
https://www.huffpost.com/entry/quick-dry-hiking-pants-amazon-sale_l_6655ed2fe4b022987c31a8e6
https://www.huffpost.com/entry/robert-deniro-capitol-police-officers-trump-democracy_n_6655f3bfe4b052122749c22e
https://www.huffpost.com/entry/bc-us-rare-cicada-illinois_n_6655f4dde4b0f5ad5598379e
https://www.huffpost.com/entry/bradley-cooper-surprises-pearl-jam-concert-for-a-star-is-born-duet-with-eddie-vedder_n_6655cd32e4b0f5ad5598159f
https://www.huffpost.com/entry/bc-lt-mexico-mummy-issues_n_6655f32ce4b052122749c1a5
https://www.huffpost.com/entry/crest-whitening-strips-sale_l_6655db57e4b052122749a9fb
https://www.huffpost.com/entry/best-affordable-memorial-day-deals-impulse-buys-ud2_l_6655ea5fe4b0f5ad55982c06
https://www.huffpost.com/entry/memorial-day-sales-2024-ud_l_6655e7c6e4b052122749b482
https://www.huffpost.com/entry/memorial-day-furniture-home-deals-ud2_l_6655e55fe4b0f5ad559827fd
https://www.huffpost.com/entry/cuisinart-portable-gas-grill-sale-ano_l_6655d8d2e4b022987c31968c
https://www.huffpost.com/entry/angel-hernandez-retires-reactions_n_6655bb73e4b022987c318139
https://www.huffpost.com/entry/human-rights-watch-co-founder-and-holocaust-survivor-aryeh-neier-says-israel-committing-genocide_n_6655aacce4b022987c31721f
https://www.huffpost.com/entry/best-memorial-day-deals-price-tracker-ud2_l_6655cf96e4b0f5ad5598168a
https://www.huffpost.com/entry/europe-palestine-explainer_n_6655cb44e4b022987c318d6f
https://www.huffpost.com/entry/pope-francis-gay-slur-bishops_n_6655a087e4b0f5ad5597ed2a
https://www.huffpost.com/entry/trump-jack-smith-gag-order-request_n_66559fb3e4b052122749787c
https://www.huffpost.com/entry/trump-trial-live-updates_n_66548b01e4b0f5ad559787e0
https://www.huffpost.com/entry/new-israeli-strikes-rafah_n_6655c3f5e4b0f5ad55980cf8
https://www.huffpost.com/entry/50-states-project-women-meals_n_664687fce4b0dd63cd2bd53c
https://www.huffpost.com/entry/california-slingshot-suspect_n_6655b12ee4b0521227498a92
https://www.huffpost.com/entry/amazon-memorial-day-sale-2024-ano_l_6655ab81e4b022987c317282
https://www.huffpost.com/entry/the-best-problem-solving-products-ud_l_664fab43e4b042129b8a29c8
https://www.huffpost.com/entry/42-loungewear-items-thatll-look-chic-on-vacation-too-ud_l_664faa67e4b01123ffe4c07e
https://www.huffpost.com/entry/home-products-amazon-customers-are-loving_l_664fa8fae4b042129b8a2823
https://www.huffpost.com/entry/best-blenders-vitamix-alternatives-ano_l_664fa671e4b058247fa21b7c
https://www.huffpost.com/entry/korean-skin-care-products-worth-every-penny-ano_l_664fa496e4b058247fa21a77
https://www.huffpost.com/entry/universal-standard-geneva-dress_l_664f7080e4b01123ffe48e6f
https://www.huffpost.com/entry/best-camping-coffee-makers_l_664f5a8be4b01123ffe47cf8
https://www.huffpost.com/entry/e-jean-carroll-lawyer-donald-trump-new-comment_n_66559b7ae4b05212274973cb
https://www.huffpost.com/entry/celtics-pacers-nba_n_665598eae4b0521227497270
https://www.huffpost.com/entry/jimmy-kimmel-son-surgery_n_66559255e4b0521227496e60
https://www.huffpost.com/entry/donald-trump-kim-jong-un_n_66557fdde4b022987c315183
https://www.huffpost.com/entry/glenn-kirschner-donald-trump_n_665565dbe4b0521227495aa6
https://www.huffpost.com/entry/dermatologists-reveal-how-kids-can-actually-start-using-skin-care_l_664617c3e4b098d9bd48dea2
https://www.huffpost.com/entry/benefits-of-sitting-on-ground_l_664b4a7ee4b02d9465ead6c3
https://www.huffpost.com/entry/is-it-rude-to-snack-while-grocery-shopping-supermarket-employees-have-thoughts_l_664387cde4b0d915e0fba891
https://www.huffpost.com/entry/papua-new-guinea-landslide_n_66554f5de4b0f5ad5597c51a
https://www.huffpost.com/entry/donnald-trump-daily-show-memorial-day_n_665570c1e4b0f5ad5597d400
https://www.huffpost.com/entry/obama-tribute-bill-walton-nba_n_66552f77e4b0f5ad5597b645
https://www.huffpost.com/entry/donald-trump-trial-rant-reaction_n_66555ddbe4b022987c314745
https://www.huffpost.com/entry/brad-pitt-angelina-jolie-vivienne-name-broadway-playbill_n_6654e5e3e4b0f5ad5597aa4a
https://www.huffpost.com/entry/memorial-day-storms-21-dead_n_6654fc7be4b0521227493af2
https://www.huffpost.com/entry/alito-flag-martha-ann_n_6654c89ce4b0521227492c45
https://www.huffpost.com/entry/mike-tyson-flight-medical-emergency_n_6654c4d7e4b0f5ad5597a2fd
https://www.huffpost.com/entry/kate-beckinsale-body-shamer-thin_n_6654b47ae4b022987c3110a7
https://www.huffpost.com/entry/stephen-curry-ayesha-boy-caius-chai_n_6654a39ce4b0f5ad559794e6
https://www.huffpost.com/entry/bill-walton-dead-dies_n_6654c0cae4b022987c3118f0
https://www.huffpost.com/entry/lightning-colorado-rancher-cattle_n_6654afe7e4b0f5ad5597971f
https://www.huffpost.com/entry/trump-memorial-day-truth-social_n_66549578e4b0f5ad55978f14
https://www.huffpost.com/entry/netanyahu-israel-attack-rafah-tragic-mistake_n_6654ac34e4b0f5ad55979557
https://www.huffpost.com/entry/libertarian-jeff-coleman-trump-grab-em-by-pussy_n_66548593e4b0f5ad55978689
https://www.huffpost.com/entry/2024-memorial-day-weekend-travel-record_n_66548896e4b05212274910c3
https://www.huffpost.com/entry/trump-attacks-bragg-merchan_n_66548314e4b022987c30fe87
https://www.huffpost.com/entry/james-carville-dont-talk-about-gaza_n_66544f11e4b052122748fdd7
https://www.huffpost.com/entry/eu-ties-israel-nosedive-spain-ireland-palestinian-state_n_66549834e4b022987c310891
https://www.huffpost.com/entry/idaho-drag-performer-defamation_n_66540393e4b0f35da18a28be
https://www.huffpost.com/entry/anonymous-text-anti-asian-racism_n_66460b62e4b0cba40888da89
https://www.huffpost.com/entry/libertarian-party-nominee-chase-oliver-trump_n_66545315e4b052122748ff0c
https://www.huffpost.com/entry/tim-scott-trump-fbi-classified-docs_n_66543a8fe4b0f35da18a3da3
https://www.huffpost.com/entry/richard-sherman-dead_n_66546835e4b0f5ad55977f3c
https://www.huffpost.com/entry/donald-trump-video-heckler-joe-scarborough_n_66545155e4b022987c30ee1c
https://www.huffpost.com/entry/ruth-ben-ghiat-donald-trump-libertarian-convention_n_6654488fe4b0ff8818212351
https://www.huffpost.com/entry/trump-trial-napping-not-issue-republicans_n_6650e1b0e4b0c292ea04ce3a
https://www.huffpost.com/entry/best-memorial-day-deals-price-tracker-ud_l_6650e166e4b07f5ea748183e
https://www.huffpost.com/entry/best-air-conditioner-units-apartment-ud_l_664fa0f2e4b058247fa218a2
https://www.huffpost.com/entry/31-products-that-reviewers-say-deserve-more-than-5-stars-ud_l_664f9cace4b042129b8a2289
https://www.huffpost.com/entry/backyard-resort_l_664f7e0ae4b058247fa1f86a
https://www.huffpost.com/entry/best-glass-nail-file-amazon-ano_l_664f7c44e4b01123ffe49897
https://www.huffpost.com/entry/elderly-home-fitness-products-ano_l_664f7b3ee4b01123ffe496dd
https://www.huffpost.com/entry/weleda-skin-food_l_664e4221e4b087f368b60a0e
https://www.huffpost.com/entry/desi-lydic-right-wing-spin-trump-biden-raid_n_66543ad8e4b0ff8818211959
https://www.huffpost.com/entry/qatar-airways-plane-turbulence_n_6654323ce4b0f5ad5597613f
https://www.huffpost.com/entry/habits-exhausting-you-ano_l_664f8baee4b042129b8a168b
https://www.huffpost.com/entry/6-phrases-adult-children-want-to-hear-from-their-parents-ano_l_664e5216e4b048d73b552eb3
https://www.huffpost.com/entry/how-to-cook-hot-dogs-the-best-and-worst-ways-ano_l_664e4d10e4b048d73b552c0a
https://www.huffpost.com/entry/just-found-out-teen-is-having-sex_l_6643a3a5e4b0d915e0fbc35b
https://www.huffpost.com/entry/mark-hamill-donald-trump-self-own_n_66540e39e4b0f5ad559753c6
https://www.huffpost.com/entry/eric-trump-memorial-day-weekend-post_n_66540768e4b0f5ad55974fc9
https://www.huffpost.com/entry/lizzo-reacts-south-park-ozempic-joke_n_6653828de4b0f35da18a0ffa
https://www.huffpost.com/entry/general-hospital-actor-johnny-wactor-fatally-shot_n_6653b0b8e4b0f35da18a1491
https://www.huffpost.com/entry/hailey-justin-bieber-baby-gender_n_66537bcfe4b0f35da18a0dd8
https://www.huffpost.com/entry/golfer-grayson-murray-suicide_n_66537ce3e4b0cf69c4e42cee
https://www.huffpost.com/entry/justice-sonia-sotomayor-emotional-toll-supreme-court-rulings_n_66537aece4b0f35da18a0dc7
https://www.huffpost.com/entry/kourtney-kardashian-covid-travis-barker_n_6653503fe4b0cf69c4e41cf8
https://www.huffpost.com/entry/alina-habba-trump-hush-money-jurors-memorial-day_n_66536ef7e4b0f35da18a08a0
https://www.huffpost.com/entry/dnc-chair-maga-apples-rotten-trump_n_6653519fe4b0cf69c4e41cfb
https://www.huffpost.com/entry/president-joe-biden-remembers-uvalde-in-campaign-ad_n_66535eede4b0f35da18a002f
https://www.huffpost.com/entry/us-isolated-icj-orders-israel-rafah-offensive-gaza_n_66535bc2e4b0f35da189ffd9
https://www.huffpost.com/entry/israel-police-clash-protesters-hostages-gaza_n_66534f2de4b0cf69c4e41cd5
https://www.huffpost.com/entry/bc-as-papua-new-guinea-landslide_n_665327a8e4b09d0995d6dd6f
https://www.huffpost.com/entry/common-kitchen-items-natural-cleaner_n_664f6d15e4b042129b89f59e
https://www.huffpost.com/entry/trump-police-support_n_66510953e4b0bc91bbed0da0
https://www.huffpost.com/entry/trump-trial-closing-arguments_n_6650cde4e4b0bc91bbecf5d7
https://www.huffpost.com/entry/portugal-lithium-climate_n_664f8595e4b058247fa206f3
https://www.huffpost.com/entry/sam-taylor-johnson-age-gap_n_664f82b2e4b042129b8a0dfd
https://www.huffpost.com/entry/avantika-south-asian-women-media_n_664f7c85e4b01123ffe49909
https://www.huffpost.com/entry/bc-ml-israel-palestinians-tel-aviv-hamas-rockets_n_66531b08e4b0f35da189fb31
https://www.huffpost.com/entry/amazon-beach-umbrellas-highly-rated_l_6650ed10e4b07f5ea7481eb1

huffpost news article dataset

The dataset consists of >1m links to huffpost news articles. They have been crawled for an educational approach to learn how content could be gathered through reading the websites sitemap(s).

The code can be found here Link

huffpost-crawler

educational - how to use sitemap.xml for crawling a website (huffpost.com - could be any)

Every public website has (or should have) a sitemap.xml. The sitemap.xml allows robots like Google to find links, which should be crawled.

In the most cases the sitemaps can be found with just adding a /sitemap.xml to the domain or in bigger sites, check the robots.txt (ex. https://www.huffpost.com/robots.txt)

The robots.txt tells you where to find the sitemap.xml and if a robot is allowed to follow the links. A site can also manage to not get indexed, when it has the metatags for nofollow, noindex.

Your crawler should respect them to not read old content, privacy reasons, etc.

What does our crawler do?

  • it loads the robots.txt
  • detects the sitemaps
  • loads every sitemap
  • gets the urls from each sitemap
  • which can be either another sitemap or a url
  • we are loading each sitemap
  • storing every url which is an entry as well as the skipped ones

This led to 1,121,569 unique links for new entries.

robots.txt

A lot of LLM models have been trained on public data. To forbit it, pages has added

User-agent: GPTBot Disallow: /

This tells the GPTBot to not crawl the site. Let's hope it complies with it.

Also take the Crawl-delay into account, which tells you how much time should be between every request to not get banned.

Example robots.txt from huffpost.com

# Cambria robots

User-agent: grapeshot
Disallow: /member
Disallow: /*?*err_code=404
Disallow: /search
Disallow: /search/?*

User-agent: *
Crawl-delay: 4
Disallow: /*?*page=
Disallow: /member
Disallow: /*?*err_code=404
Disallow: /search
Disallow: /search/?*
Disallow: /mapi/v4/*/user/*
Disallow: /embed

User-agent: Googlebot
Allow: /
Disallow: /*?*err_code=404
Disallow: /search
Disallow: /search/?*

User-agent: google-extended
Disallow: /

User-agent: GPTBot
Disallow: /

# archives
Sitemap: https://www.huffpost.com/sitemaps/sitemap-v1.xml
Sitemap: https://www.huffpost.com/sitemaps/sitemap-google-news.xml
Sitemap: https://www.huffpost.com/sitemaps/sitemap-google-video.xml
Sitemap: https://www.huffpost.com/sitemaps/sections.xml

# huffingtonpost.com archive sitemaps
Sitemap: https://www.huffpost.com/sitemaps-huffingtonpost/sitemap.xml
Sitemap: https://www.huffpost.com/sitemaps-huffingtonpost/sections.xml

Inspired by

@article{misra2019sarcasm,
  title={Sarcasm Detection using Hybrid Neural Network},
  author={Misra, Rishabh and Arora, Prahal},
  journal={arXiv preprint arXiv:1908.07414},
  year={2019}
}

@book{misra2021sculpting,
  author = {Misra, Rishabh and Grover, Jigyasa},
  year = {2021},
  month = {01},
  pages = {},
  title = {Sculpting Data for ML: The first act of Machine Learning},
  isbn = {9798585463570}
}
Downloads last month
41