You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mercury-parser/fixtures/www.nationalgeographic.com....

29 lines
122 KiB
HTML

feat: update all fixtures and custom parsers to match (#713) * feat: Refactor and update fixtures This patch changes how fixtures are stored. Previously, a fixture's folder identified its domain and its filename identified when it was fetched. This has been changed so that the filename indicates the domain and the modified time of the file indicates how recently it was fetched. A fixture's filename can optionally include a modifier to distinguish between two different page types on the same domain, for example. Also included here are changes to the update-fixture script, both to accomodate the new filename scheme as well as to actually update all fixtures. The functionality for running automatically and opening PRs has been removed but will likely be reintroduced. Finally, all fixtures have been updated. * Remove reference to deleted extractor * feat: first batch of test and parser updates due to new fixtures * feat: update more custom parsers and unit tests * feat: update more custom parsers and unit tests and remove unnecessary parser * feat: update more custom parsers and unit tests * feat: update more parsers and add correct bloomberg html files * fix: remove console statement * feat: all parsers updated and tests passing * fix: update date_published tests to account for test server time difference * fix: cleanup remaining fixtures in folders * feat: move fixtures for newest custom parsers * feat: remove script changes * fix: update dist files to account for reverting script changes * adding .DS_Store to .gitignore * adding .DS_Store to .gitignore -- 2 * adding .DS_Store to .gitignore -- 3 lol * cleaning up some tests * fix: ran build:generator command to update generate-custom-parser dist file * fix: update rollup configs to generate source maps and update source maps * fix: use underscore in place of unused error variable * fix: remove unused fixture Co-authored-by: Postlight Bot <adam.pash+postlight-bot@postlight.com> Co-authored-by: flbn <overasc@gmail.com>
2 years ago
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" value="IE=edge">
<meta name="viewport" value="width=device-width, initial-scale=1.0">
<meta value="en_US" name="og:locale">
<title data-react-helmet="true">How Today&#x2019;s Toys May Be Harming Your Daughter</title>
<meta data-react-helmet="true" name="title" value="How Today&#x2019;s Toys May Be Harming Your Daughter"><meta data-react-helmet="true" name="description" value="The long history of separate toys for girls and boys shows that marketing by gender has a profound impact on children."><meta data-react-helmet="true" name="medium" value="website"><meta data-react-helmet="true" name="guid" value="drn:src:natgeo:unison::prod:d455ce6e-517b-4f9a-8d76-8d47e43140f7"><meta data-react-helmet="true" value="Magazine" name="og:site_name"><meta data-react-helmet="true" value="How Today&#x2019;s Toys May Be Harming Your Daughter" name="og:title"><meta data-react-helmet="true" value="The long history of separate toys for girls and boys shows that marketing by gender has a profound impact on children." name="og:description"><meta data-react-helmet="true" value="https://www.nationalgeographic.com/magazine/article/gender-toys-departments-piece" name="og:url"><meta data-react-helmet="true" value="https://i.natgeofe.com/n/2d5941b3-34f7-4db7-a8d7-eca792637b79/gendertoysOG_16x9.jpg?w=1200" name="og:image"><meta data-react-helmet="true" value="1200" name="og:image:width"><meta data-react-helmet="true" value="675.344563552833" name="og:image:height"><meta data-react-helmet="true" value="article" name="og:type"><meta data-react-helmet="true" name="referrer" value="origin"><meta data-react-helmet="true" name="theme-color" value="#ffffff"><meta data-react-helmet="true" name="tax:audiences" value="General"><meta data-react-helmet="true" name="tax:concepts" value=""><meta data-react-helmet="true" name="tax:events" value=""><meta data-react-helmet="true" name="tax:firstSubject" value="Gender"><meta data-react-helmet="true" name="tax:genres" value="Short"><meta data-react-helmet="true" name="tax:locations" value=""><meta data-react-helmet="true" name="tax:organizations" value=""><meta data-react-helmet="true" name="tax:otherSubjects" value="Children, People and Culture"><meta data-react-helmet="true" name="tax:people" value=""><meta data-react-helmet="true" name="tax:series" value="Gender Revolution"><meta data-react-helmet="true" name="tax:source" value="Magazine"><meta data-react-helmet="true" name="twitter:site" value="@NatGeoMag"><meta data-react-helmet="true" name="twitter:title" value="How Today&#x2019;s Toys May Be Harming Your Daughter"><meta data-react-helmet="true" name="twitter:description" value="The long history of separate toys for girls and boys shows that marketing by gender has a profound impact on children."><meta data-react-helmet="true" name="twitter:url" value="https://www.nationalgeographic.com/magazine/article/gender-toys-departments-piece"><meta data-react-helmet="true" name="twitter:image:src" value="https://i.natgeofe.com/n/2d5941b3-34f7-4db7-a8d7-eca792637b79/gendertoysOG_16x9.jpg?w=1200"><meta data-react-helmet="true" name="twitter:card" value="summary_large_image"><meta data-react-helmet="true" name="twitter:creator" value="@NatGeoMag"><meta data-react-helmet="true" name="twitter:image:alt" value="How Today&#x2019;s Toys May Be Harming Your Daughter"><meta data-react-helmet="true" name="twitter:app:id:iphone" value="418671597"><meta data-react-helmet="true" name="twitter:app:name:iphone" value="National Geographic"><meta data-react-helmet="true" name="twitter:app:id:googleplay" value="com.natgeomobile.ngmagazine"><meta data-react-helmet="true" name="twitter:app:name:googleplay" value="National Geographic"><meta data-react-helmet="true" name="robots" value="max-image-preview:large"><meta data-react-helmet="true" name="article:published_time" value="12-15-2016"><meta data-react-helmet="true" name="article:modified_time" value="05-04-2021"><meta data-react-helmet="true" name="article:section" value="Magazine"><meta data-react-helmet="true" name="article:publisher" value="https://www.facebook.com/natgeo">
<link href="//assets-cdn.nationalgeographic.com" rel="preconnect">
<link rel="stylesheet" href="//assets-cdn.nationalgeographic.com/natgeo/2ffe781f47e0-release-07-28-2022.7/client/css/natgeo.css">
<link data-react-helmet="true" rel="stylesheet" href="//assets-cdn.nationalgeographic.com/natgeo/2ffe781f47e0-release-07-28-2022.7/client/css/article.css"><link data-react-helmet="true" rel="canonical" href="https://www.nationalgeographic.com/magazine/article/gender-toys-departments-piece"><link data-react-helmet="true" rel="alternate" hreflang="en-us" href="https://www.nationalgeographic.com/magazine/article/gender-toys-departments-piece"><link data-react-helmet="true" rel="mask-icon" href="https://assets-cdn.nationalgeographic.com/natgeo/static/icons/mask-icon.svg" color="#FFCC00"><link data-react-helmet="true" rel="shortcut icon" href="https://assets-cdn.nationalgeographic.com/natgeo/static/icons/favicon.ico"><link data-react-helmet="true" rel="apple-touch-icon" href="https://assets-cdn.nationalgeographic.com/natgeo/static/icons/favicon-32x32.png"><link data-react-helmet="true" rel="apple-touch-icon-precomposed" sizes="32x32" href="https://assets-cdn.nationalgeographic.com/natgeo/static/icons/favicon-32x32.png"><link data-react-helmet="true" rel="apple-touch-icon-precomposed" sizes="180x180" href="https://assets-cdn.nationalgeographic.com/natgeo/static/icons/favicon-180x180.png">
</head>
<body>
<div id="natgeo"><div id="fitt-analytics"><div><div id="natgeo-global-header-frame1-module1" class="StackModule"><div><section class="AlertBanner"><div class="AlertBanner__Container AlertBanner--yellow"><div class="AlertBanner__Label"><p class="AlertBanner__Label--text"><span>Subscriber Exclusive Content</span></p></div></div></section></div></div></div><div><div class="ResponsiveWrapper"><div class="GlobalNav"><div class="StickyBar"><div class="StickyBar--sticky"><nav class="NavBar"><div class="NavBar__Left__Container"><div class="NavBar__Logo__Container"><div data-track-event_name="natgeo logo" class="fitt-tracker"><a class="AnchorLink" tabindex="0" title="National Geographic" href="/"><picture><source srcset="https://i.natgeofe.com/n/e76f5368-6797-4794-b7f6-8d757c79ea5c/ng-logo-2fl.png?w=109&amp;h=32, https://i.natgeofe.com/n/e76f5368-6797-4794-b7f6-8d757c79ea5c/ng-logo-2fl.png?w=218&amp;h=64 2x"><img alt="National Geographic Logo - Home" class="Image Logo NavBar__Logo Logo__lg" data-mptype="image" src="https://i.natgeofe.com/n/e76f5368-6797-4794-b7f6-8d757c79ea5c/ng-logo-2fl.png?w=109&amp;h=32"></picture></a></div></div></div><button aria-label="Skip to content" class="Button--unstyled SkipNav" tabindex="0">Skip to content</button><div class="NavBar__Spacer"></div><ul class="NavBar__List" role="presentation"><li class="NavBar__List--item"></li><li class="NavBar__List--item "><div data-track-event_name="global nav interaction" data-track-nav_item="search" data-track-nav_type="default" data-track-nav_layer="top nav" class="fitt-tracker"><a class="AnchorLink NavBar__List--search" tabindex="0" aria-label="Search" href="/search"><svg aria-hidden="true" class="NavBar__list--searchIcon icon__svg" viewbox="0 0 24 24"><use xlink:href="#icon__search"/></svg></a></div></li><li class="NavBar__List--item NavBar__List--renew"><div data-track-event_name="global nav interaction" data-track-nav_item="newsletters" data-track-nav_type="default" data-track-nav_layer="top nav" class="fitt-tracker"><a class="AnchorLink NavBar__List--link" tabindex="0" href="https://www.nationalgeographic.com/newsletters/signup">Newsletters</a></div></li><li class="NavBar__List--item"><div data-track-event_name="global nav interaction" data-track-nav_item="subscribe" data-track-nav_type="default" data-track-nav_layer="top nav" class="fitt-tracker"><a class="AnchorLink Button Button--anchorLink Button--default FillButton FillButton--link FillButton--secondary FillButton--large" tabindex="0" href="/subscribe" title="Subscribe"><span class="fillOne"></span><span class="fillTwo"></span><span class="content"><span>Subscribe</span></span></a></div></li><li class="NavBar__List--item"><div class="MenuModal NavBar__Menu--item"><button aria-label="Menu" aria-expanded="false" class="Button Button--default Button--icon MenuModal__MenuButton NavBar__Menu--item" tabindex="0"><svg focusable="false" aria-hidden="true" class="icon__svg" viewbox="0 0 24 24"><use xlink:href="#icon__double-chevron__down"/></svg>Menu</button></div></li></ul></nav></div></div></div></div></div><div class="stickyFrame stickyFrame--bottom"></div><div class="bp-mobileMDPlus bp-mobileLGPlus bp-tabletPlus bp-desktopPlus bp-desktopLGPlus" data-fitt-page-type="article"><div class="ResponsiveWrapper"><div class="PageLayout page-container cf PageLayout--desktopLg PageLayout--article fitt-fade-in"><div class="PageLayout__Main" role="main" tabindex="-1"><div class=""><div><div id="natgeo-template1-frame-1-module-1" class="StackModule"><div class="ScrollSpy_container"><span></span><div class="Article flex ArticleBodyTile ArticleBodyTile--textonly"><section class="Article__Column Article__Column--main"><article class="Article__Wrapper"><div tabindex="-1" aria-hidden="true" class="ad-wrapper"><div data-box-type="fitt-adbox-pixel"><div class="Ad pixel pixel ad-slot" data-slot-type="pixel" data-collapse-before-load="true" data-slot-kvps="pos=pixel"></div></div></div><div class="ArticleBodyTile__LeadSeparator"></div><div class="ResponsiveWrapper"><header class="Article__Header"><ul class="Secti
</body>
</html>