Skip to content

Commit a36e240

Browse files
committed
Remove sailthru rules
1 parent 9d49f87 commit a36e240

File tree

7 files changed

+1332
-852
lines changed

7 files changed

+1332
-852
lines changed

packages/metascraper-author/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ module.exports = () => ({
4141
wrap($ => $('meta[property="author"]').attr('content')),
4242
wrap($ => $('meta[property="article:author"]').attr('content')),
4343
wrap($ => $('meta[name="author"]').attr('content')),
44-
wrap($ => $('meta[name="sailthru.author"]').attr('content')),
4544
wrap($ => getValue($, $('[rel="author"]'))),
4645
wrap($ => getValue($, $('[itemprop*="author"] [itemprop="name"]'))),
4746
wrap($ => getValue($, $('[itemprop*="author"]'))),

packages/metascraper-date/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ module.exports = () => ({
4646
wrap($ => $('[property*="dc:date"]').attr('content')),
4747
wrap($ => $('[property*="dc:created"]').attr('content')),
4848
wrap($ => $('time[datetime][pubdate]').attr('datetime')),
49-
wrap($ => $('meta[name="sailthru.date"]').attr('content')),
5049
wrap($ => $('meta[property="book:release_date"]').attr('content')),
5150
wrap($ => $('time[datetime]').attr('datetime')),
5251
wrap($ => $('[class*="byline"]').text()),

packages/metascraper-description/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ module.exports = () => ({
2828
wrap($ => $('meta[property="og:description"]').attr('content')),
2929
wrap($ => $('meta[name="twitter:description"]').attr('content')),
3030
wrap($ => $('meta[name="description"]').attr('content')),
31-
wrap($ => $('meta[name="sailthru.description"]').attr('content')),
3231
wrap($ => $('meta[itemprop="description"]').attr('content')),
3332
wrap($ => $('#description').text()),
3433
wrap($ => getValue($, $('[class*="content"] > p'))),

packages/metascraper-image/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ module.exports = () => ({
2626
wrap($ => $('meta[property="og:image"]').attr('content')),
2727
wrap($ => $('meta[name="twitter:image:src"]').attr('content')),
2828
wrap($ => $('meta[name="twitter:image"]').attr('content')),
29-
wrap($ => $('meta[name="sailthru.image.thumb"]').attr('content')),
30-
wrap($ => $('meta[name="sailthru.image.full"]').attr('content')),
31-
wrap($ => $('meta[name="sailthru.image"]').attr('content')),
3229
wrap($ => getValue($, $('article img[src]'), getSrc)),
3330
wrap($ => getValue($, $('#content img[src]'), getSrc)),
3431
wrap($ => $('img[alt*="author"]').attr('src')),

packages/metascraper-title/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@ module.exports = () => ({
1212
title: [
1313
wrap($ => $('meta[property="og:title"]').attr('content')),
1414
wrap($ => $('meta[name="twitter:title"]').attr('content')),
15-
wrap($ => $('meta[name="sailthru.title"]').attr('content')),
1615
wrap($ => $('.post-title').text()),
1716
wrap($ => $('.entry-title').text()),
18-
wrap($ =>
19-
$('[itemtype="http://schema.org/BlogPosting"] [itemprop="name"]').text()
20-
),
2117
wrap($ => $('h1[class*="title"] a').text()),
2218
wrap($ => $('h1[class*="title"]').text()),
2319
wrap($ => getValue($, $('title')))

packages/metascraper/__snapshots__/index.js.snap-shot

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -299,12 +299,12 @@ exports['forbes 1'] = {
299299

300300
exports['fortune 1'] = {
301301
"author": "Kia Kokalitcheva",
302-
"date": "2015-10-05T20:52:17.000Z",
302+
"date": "2015-10-05T00:00:00.000Z",
303303
"description": "HackerRank, a four-year-old startup, is changing the way companies find and evaluate programmers.",
304-
"image": "https://fortunedotcom.files.wordpress.com/2015/09/gettyimages-1852881881.jpg?w=820&h=570&crop=1",
304+
"image": "https://fortunedotcom.files.wordpress.com/2015/09/gettyimages-1852881881.jpg",
305305
"video": null,
306306
"lang": "en",
307-
"logo": "http://1.gravatar.com/blavatar/dab01945b542bffb69b4f700d7a35f8f?s=16",
307+
"logo": "http://fortune.com/img/favicons/favicon-192.png",
308308
"publisher": "Fortune",
309309
"title": "Why your next job search may involve solving online puzzles",
310310
"url": "http://fortune.com/2015/10/05/hackerrank-recruiting-tool"
@@ -585,7 +585,7 @@ exports['recode 1'] = {
585585

586586
exports['reuters 1'] = {
587587
"author": "Heather Somerville",
588-
"date": "2016-05-13T16:43:53.000Z",
588+
"date": "2016-05-13T16:43:00.000Z",
589589
"description": "Venture capitalists are raising money at the fastest rate in a decade, raking in about $13 billion in the first quarter of 2016.",
590590
"image": "http://s4.reutersmedia.net/resources/r/?m=02&d=20160513&t=2&i=1137169522&w=&fh=545px&fw=&ll=&pl=&sq=&r=LYNXNPEC4C0SU",
591591
"video": null,
@@ -598,7 +598,7 @@ exports['reuters 1'] = {
598598

599599
exports['san-francisco-chronicle 1'] = {
600600
"author": "Carolyn Said",
601-
"date": "2016-04-25T23:37:00.000Z",
601+
"date": "2016-04-25T12:00:00.000Z",
602602
"description": "[...] it’s natural to think that San Francisco’s new Nasdaq Entrepreneurial Center, which sprawls over 13,000 square feet in a prime SoMa location, would cater exclusively to up-and-coming tech startups. [...] all kind of entrepreneurs, whether they’re launching a taco truck or the next Google, can plug into the center for free classes, mentorship, media coaching, meeting space and other support. The nonprofit center, located near the future Transbay Transit Center, is backed by $10 million from the Nasdaq Educational Foundation, the stock exchange’s 22-year-old philanthropy arm. Outside 505 Howard St., a Times-Square-style electronic ticker scrolls promotions for events and logos of corporate sponsors. Inside, the expansive ground-floor space is divided into various functional areas: a state-of-the-art broadcast studio where budding Jack Dorseys or Marissa Mayers can learn how to handle on-camera interviews; classrooms that can accommodate dozens of people for hands-on trainings; a cafe and meeting space for collaborations; and a big lobby that serves double duty as space for pop-up shops to test products and ideas. The recent college grad knocked on the door, showed off his fledgling product-design studio’s first product, a wristwatch, and was invited to have a three-week pop-up store on site. “It was the absolute best way I could have launched my brand,” said Umaña, whose company, Classic Engineering, is now working on a sculpture-like lamp that turns on and off in response to whistling. There are deep dives into topics like company formation, business mechanics, understanding intellectual property and data security, among others. “Building buzz and excitement around your brand is really an art,” said Alexa Fleischman, CEO and co-founder of Savvy Society, which lets girls design and purchase custom 3-D-printed fashion accessories. [...] that venture funding is tighter, it will offer tips on how to weather this period with alternative financing strategies, for instance. The center hosted a two-day regional workshop for 1776’s Challenge Cup startup contest and helped it identify interesting entrepreneurs, mentors, coaches and local experts.",
603603
"image": "http://ww3.hdnux.com/photos/45/53/13/9876166/5/rawImage.jpg",
604604
"video": null,
@@ -715,7 +715,7 @@ exports['startup-grind 1'] = {
715715

716716
exports['techcrunch 1'] = {
717717
"author": "Frederic Lardinois",
718-
"date": "2016-01-12T09:00:44.000Z",
718+
"date": "2016-05-24T09:30:26.000Z",
719719
"description": "Recruiting software engineers is a massive headache for both startups and established companies. For a while now, HackerRank has tried to make both applying..",
720720
"image": "https://tctechcrunch2011.files.wordpress.com/2015/08/10-interviewed.png?w=720&h=388&crop=1",
721721
"video": null,

0 commit comments

Comments
 (0)