diff options
Diffstat (limited to 'test/test-pages')
151 files changed, 919 insertions, 419 deletions
diff --git a/test/test-pages/001/expected-images.json b/test/test-pages/001/expected-images.json index b8720fe..5bed34d 100644 --- a/test/test-pages/001/expected-images.json +++ b/test/test-pages/001/expected-images.json @@ -1 +1,3 @@ -["http:\/\/fakehost\/static\/code\/2013\/blanket-coverage.png"]
\ No newline at end of file +[ + "http:\/\/fakehost\/static\/code\/2013\/blanket-coverage.png" +]
\ No newline at end of file diff --git a/test/test-pages/001/expected-metadata.json b/test/test-pages/001/expected-metadata.json index c58545d..7913001 100644 --- a/test/test-pages/001/expected-metadata.json +++ b/test/test-pages/001/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Get your Frontend JavaScript Code Covered | Code", - "Author": "Nicolas Perriault —", - "Excerpt": "Nicolas Perriault's homepage." -} + "Title": "Get your Frontend JavaScript Code Covered | Code", + "Author": "Nicolas Perriault —", + "Excerpt": "Nicolas Perriault's homepage.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/002/expected-metadata.json b/test/test-pages/002/expected-metadata.json index a351dd4..6777d36 100644 --- a/test/test-pages/002/expected-metadata.json +++ b/test/test-pages/002/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "This API is so Fetching!", - "Author": "Nikhil Marathe", - "Excerpt": "For more than a decade the Web has used XMLHttpRequest (XHR) to achieve asynchronous requests in JavaScript. While very useful, XHR is not a very ..." -} + "Title": "This API is so Fetching!", + "Author": "Nikhil Marathe", + "Excerpt": "For more than a decade the Web has used XMLHttpRequest (XHR) to achieve asynchronous requests in JavaScript. While very useful, XHR is not a very ...", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/003-metadata-preferred/expected-metadata.json b/test/test-pages/003-metadata-preferred/expected-metadata.json index a702e4a..557881c 100644 --- a/test/test-pages/003-metadata-preferred/expected-metadata.json +++ b/test/test-pages/003-metadata-preferred/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Dublin Core property title", - "Author": "Dublin Core property author", - "Excerpt": "Dublin Core property description" -} + "Title": "Dublin Core property title", + "Author": "Dublin Core property author", + "Excerpt": "Dublin Core property description", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/004-metadata-space-separated-properties/expected-metadata.json b/test/test-pages/004-metadata-space-separated-properties/expected-metadata.json index a41ac6b..4007b7b 100644 --- a/test/test-pages/004-metadata-space-separated-properties/expected-metadata.json +++ b/test/test-pages/004-metadata-space-separated-properties/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Preferred title", - "Author": "Creator Name", - "Excerpt": "Preferred description" -} + "Title": "Preferred title", + "Author": "Creator Name", + "Excerpt": "Preferred description", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/aclu/expected-images.json b/test/test-pages/aclu/expected-images.json index 0637a08..5a24660 100644 --- a/test/test-pages/aclu/expected-images.json +++ b/test/test-pages/aclu/expected-images.json @@ -1 +1,3 @@ -[]
\ No newline at end of file +[ + "https:\/\/www.aclu.org\/sites\/default\/files\/styles\/metatag_og_image_1200x630\/public\/field_share_image\/web18-facebook-socialshare-1200x628-v02.png?itok=p77cQjOm" +]
\ No newline at end of file diff --git a/test/test-pages/aclu/expected-metadata.json b/test/test-pages/aclu/expected-metadata.json index f954b98..87432d3 100644 --- a/test/test-pages/aclu/expected-metadata.json +++ b/test/test-pages/aclu/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Facebook Is Tracking Me Even Though I’m Not on Facebook", - "Author": "By Daniel Kahn Gillmor, Senior Staff Technologist, ACLU Speech, Privacy, and Technology Project", - "Excerpt": "I don't use Facebook. I'm not technophobic — I'm a geek. I've been using email since the early 1990s, I have accounts on hundreds of services around the net, and I do software development and internet protocol design both for work and for fun. I believe that a globe-spanning communications network like the internet can be a positive social force, and I publish much of my own work on the open web." -} + "Title": "Facebook Is Tracking Me Even Though I’m Not on Facebook", + "Author": "By Daniel Kahn Gillmor, Senior Staff Technologist, ACLU Speech, Privacy, and Technology Project", + "Excerpt": "I don't use Facebook. I'm not technophobic — I'm a geek. I've been using email since the early 1990s, I have accounts on hundreds of services around the net, and I do software development and internet protocol design both for work and for fun. I believe that a globe-spanning communications network like the internet can be a positive social force, and I publish much of my own work on the open web.", + "Image": "https:\/\/www.aclu.org\/sites\/default\/files\/styles\/metatag_og_image_1200x630\/public\/field_share_image\/web18-facebook-socialshare-1200x628-v02.png?itok=p77cQjOm", + "Direction": "ltr" +}
\ No newline at end of file diff --git a/test/test-pages/ars-1/expected-images.json b/test/test-pages/ars-1/expected-images.json index 7576fd9..b555551 100644 --- a/test/test-pages/ars-1/expected-images.json +++ b/test/test-pages/ars-1/expected-images.json @@ -1 +1,3 @@ -["http:\/\/cdn.arstechnica.net\/wp-content\/uploads\/2015\/04\/server-crash-640x426.jpg"]
\ No newline at end of file +[ + "http:\/\/cdn.arstechnica.net\/wp-content\/uploads\/2015\/04\/server-crash-640x426.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/ars-1/expected-metadata.json b/test/test-pages/ars-1/expected-metadata.json index 8b3d493..7b57849 100644 --- a/test/test-pages/ars-1/expected-metadata.json +++ b/test/test-pages/ars-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Just-released Minecraft exploit makes it easy to crash game servers", - "Author": "by Dan Goodin - Apr 16, 2015 8:02 pm UTC", - "Excerpt": "Two-year-old bug exposes thousands of servers to crippling attack." -} + "Title": "Just-released Minecraft exploit makes it easy to crash game servers", + "Author": "by Dan Goodin - Apr 16, 2015 8:02 pm UTC", + "Excerpt": "Two-year-old bug exposes thousands of servers to crippling attack.", + "Image": "http:\/\/cdn.arstechnica.net\/wp-content\/uploads\/2015\/04\/server-crash-640x426.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/base-url-base-element-relative/expected-images.json b/test/test-pages/base-url-base-element-relative/expected-images.json index efa3a53..5e3fa41 100644 --- a/test/test-pages/base-url-base-element-relative/expected-images.json +++ b/test/test-pages/base-url-base-element-relative/expected-images.json @@ -1 +1,6 @@ -{"0":"http:\/\/fakehost\/test\/base\/foo\/bar\/baz.png","2":"http:\/\/fakehost\/foo\/bar\/baz.png","3":"http:\/\/test\/foo\/bar\/baz.png","4":"https:\/\/test\/foo\/bar\/baz.png"}
\ No newline at end of file +{ + "0": "http:\/\/fakehost\/test\/base\/foo\/bar\/baz.png", + "2": "http:\/\/fakehost\/foo\/bar\/baz.png", + "3": "http:\/\/test\/foo\/bar\/baz.png", + "4": "https:\/\/test\/foo\/bar\/baz.png" +}
\ No newline at end of file diff --git a/test/test-pages/base-url-base-element-relative/expected-metadata.json b/test/test-pages/base-url-base-element-relative/expected-metadata.json index eb78f28..1a489a7 100644 --- a/test/test-pages/base-url-base-element-relative/expected-metadata.json +++ b/test/test-pages/base-url-base-element-relative/expected-metadata.json @@ -1,4 +1,7 @@ { - "Title": "Base URL with base relative test", - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum." -} + "Title": "Base URL with base relative test", + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "Author": null, + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/base-url-base-element/expected-images.json b/test/test-pages/base-url-base-element/expected-images.json index 1f0eaea..c4a597e 100644 --- a/test/test-pages/base-url-base-element/expected-images.json +++ b/test/test-pages/base-url-base-element/expected-images.json @@ -1 +1,5 @@ -{"0":"http:\/\/fakehost\/foo\/bar\/baz.png","3":"http:\/\/test\/foo\/bar\/baz.png","4":"https:\/\/test\/foo\/bar\/baz.png"}
\ No newline at end of file +{ + "0": "http:\/\/fakehost\/foo\/bar\/baz.png", + "3": "http:\/\/test\/foo\/bar\/baz.png", + "4": "https:\/\/test\/foo\/bar\/baz.png" +}
\ No newline at end of file diff --git a/test/test-pages/base-url-base-element/expected-metadata.json b/test/test-pages/base-url-base-element/expected-metadata.json index 4a22f75..1eb382f 100644 --- a/test/test-pages/base-url-base-element/expected-metadata.json +++ b/test/test-pages/base-url-base-element/expected-metadata.json @@ -1,4 +1,7 @@ { - "Title": "Base URL with base test", - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum." -} + "Title": "Base URL with base test", + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "Author": null, + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/base-url/expected-images.json b/test/test-pages/base-url/expected-images.json index d3eed6f..1c28ae6 100644 --- a/test/test-pages/base-url/expected-images.json +++ b/test/test-pages/base-url/expected-images.json @@ -1 +1,6 @@ -{"0":"http:\/\/fakehost\/test\/foo\/bar\/baz.png","2":"http:\/\/fakehost\/foo\/bar\/baz.png","3":"http:\/\/test\/foo\/bar\/baz.png","4":"https:\/\/test\/foo\/bar\/baz.png"}
\ No newline at end of file +{ + "0": "http:\/\/fakehost\/test\/foo\/bar\/baz.png", + "2": "http:\/\/fakehost\/foo\/bar\/baz.png", + "3": "http:\/\/test\/foo\/bar\/baz.png", + "4": "https:\/\/test\/foo\/bar\/baz.png" +}
\ No newline at end of file diff --git a/test/test-pages/base-url/expected-metadata.json b/test/test-pages/base-url/expected-metadata.json index b26e5cf..f73949e 100644 --- a/test/test-pages/base-url/expected-metadata.json +++ b/test/test-pages/base-url/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Base URL test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum." -} + "Title": "Base URL test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/basic-tags-cleaning/expected-metadata.json b/test/test-pages/basic-tags-cleaning/expected-metadata.json index f3292d5..bcce076 100644 --- a/test/test-pages/basic-tags-cleaning/expected-metadata.json +++ b/test/test-pages/basic-tags-cleaning/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Basic tag cleaning test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua." -} + "Title": "Basic tag cleaning test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/bbc-1/expected-images.json b/test/test-pages/bbc-1/expected-images.json index 137b422..44bca8d 100644 --- a/test/test-pages/bbc-1/expected-images.json +++ b/test/test-pages/bbc-1/expected-images.json @@ -1 +1,7 @@ -{"0":"http:\/\/ichef.bbci.co.uk\/news\/555\/cpsprodpb\/462D\/production\/_84456971_gettyimages-167501087.jpg","1":"http:\/\/ichef.bbci.co.uk\/news\/555\/media\/images\/76020000\/jpg\/_76020974_line976.jpg","2":"http:\/\/ichef-1.bbci.co.uk\/news\/555\/cpsprodpb\/6D3D\/production\/_84456972_p072315al-0500.jpg","4":"http:\/\/ichef-1.bbci.co.uk\/news\/555\/cpsprodpb\/142FD\/production\/_84458628_shirtreuters.jpg"}
\ No newline at end of file +{ + "0": "http:\/\/ichef.bbci.co.uk\/news\/1024\/cpsprodpb\/3D8B\/production\/_84455751_84455749.jpg", + "1": "http:\/\/ichef.bbci.co.uk\/news\/555\/cpsprodpb\/462D\/production\/_84456971_gettyimages-167501087.jpg", + "2": "http:\/\/ichef.bbci.co.uk\/news\/555\/media\/images\/76020000\/jpg\/_76020974_line976.jpg", + "3": "http:\/\/ichef-1.bbci.co.uk\/news\/555\/cpsprodpb\/6D3D\/production\/_84456972_p072315al-0500.jpg", + "5": "http:\/\/ichef-1.bbci.co.uk\/news\/555\/cpsprodpb\/142FD\/production\/_84458628_shirtreuters.jpg" +}
\ No newline at end of file diff --git a/test/test-pages/bbc-1/expected-metadata.json b/test/test-pages/bbc-1/expected-metadata.json index 545e317..82698bd 100644 --- a/test/test-pages/bbc-1/expected-metadata.json +++ b/test/test-pages/bbc-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Obama admits US gun laws are his 'biggest frustration' - BBC News", - "Author": null, - "Excerpt": "President Barack Obama tells the BBC his failure to pass \"common sense gun safety laws\" is the greatest frustration of his presidency." -} + "Title": "Obama admits US gun laws are his 'biggest frustration' - BBC News", + "Author": null, + "Excerpt": "President Barack Obama tells the BBC his failure to pass \"common sense gun safety laws\" is the greatest frustration of his presidency.", + "Image": "http:\/\/ichef.bbci.co.uk\/news\/1024\/cpsprodpb\/3D8B\/production\/_84455751_84455749.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/blogger/expected-images.json b/test/test-pages/blogger/expected-images.json index aa14e4f..1b254aa 100644 --- a/test/test-pages/blogger/expected-images.json +++ b/test/test-pages/blogger/expected-images.json @@ -1 +1,6 @@ -{"0":"https:\/\/1.bp.blogspot.com\/-YIPC5jkXkDE\/Vy7YPSqFKWI\/AAAAAAAAAxI\/a7D6Ji2GxoUvcrwUkI4RLZcr2LFQEJCTACLcB\/s640\/block-diagram.png","2":"https:\/\/1.bp.blogspot.com\/-k3naUT3uXao\/Vy7WFac246I\/AAAAAAAAAw8\/mePy_ostO8QJra5ZJrbP2WGhTlJ0B_r8gCLcB\/s640\/schematic-from-hell.png","3":"https:\/\/2.bp.blogspot.com\/-kIekczO693g\/Vy7dBqYifXI\/AAAAAAAAAxc\/hMNJBs5bedIQOrBzzkhq4gbmhR-n58EQwCLcB\/s400\/graph-labels.png"}
\ No newline at end of file +[ + "https:\/\/1.bp.blogspot.com\/-YIPC5jkXkDE\/Vy7YPSqFKWI\/AAAAAAAAAxI\/a7D6Ji2GxoUvcrwUkI4RLZcr2LFQEJCTACLcB\/w1200-h630-p-nu\/block-diagram.png", + "https:\/\/1.bp.blogspot.com\/-YIPC5jkXkDE\/Vy7YPSqFKWI\/AAAAAAAAAxI\/a7D6Ji2GxoUvcrwUkI4RLZcr2LFQEJCTACLcB\/s640\/block-diagram.png", + "https:\/\/1.bp.blogspot.com\/-k3naUT3uXao\/Vy7WFac246I\/AAAAAAAAAw8\/mePy_ostO8QJra5ZJrbP2WGhTlJ0B_r8gCLcB\/s640\/schematic-from-hell.png", + "https:\/\/2.bp.blogspot.com\/-kIekczO693g\/Vy7dBqYifXI\/AAAAAAAAAxc\/hMNJBs5bedIQOrBzzkhq4gbmhR-n58EQwCLcB\/s400\/graph-labels.png" +]
\ No newline at end of file diff --git a/test/test-pages/blogger/expected-metadata.json b/test/test-pages/blogger/expected-metadata.json index f912e3b..1de8a0c 100644 --- a/test/test-pages/blogger/expected-metadata.json +++ b/test/test-pages/blogger/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Open Verilog flow for Silego GreenPak4 programmable logic devices", - "Author": null, - "Excerpt": "I've written a couple of posts in the past few months but they were all for the blog at work so I figured I'm long overdue for one on Silic..." -} + "Title": "Open Verilog flow for Silego GreenPak4 programmable logic devices", + "Author": null, + "Excerpt": "I've written a couple of posts in the past few months but they were all for the blog at work so I figured I'm long overdue for one on Silic...", + "Image": "https:\/\/1.bp.blogspot.com\/-YIPC5jkXkDE\/Vy7YPSqFKWI\/AAAAAAAAAxI\/a7D6Ji2GxoUvcrwUkI4RLZcr2LFQEJCTACLcB\/w1200-h630-p-nu\/block-diagram.png", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/breitbart/expected-images.json b/test/test-pages/breitbart/expected-images.json index 0c7f570..bd97f7c 100644 --- a/test/test-pages/breitbart/expected-images.json +++ b/test/test-pages/breitbart/expected-images.json @@ -1 +1,4 @@ -["http:\/\/media.breitbart.com\/media\/2016\/11\/GettyImages-621866810-640x480.jpg"]
\ No newline at end of file +[ + "http:\/\/fakehost\/test\/480", + "http:\/\/media.breitbart.com\/media\/2016\/11\/GettyImages-621866810-640x480.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/breitbart/expected-metadata.json b/test/test-pages/breitbart/expected-metadata.json index 8bbbd41..3c7d29e 100644 --- a/test/test-pages/breitbart/expected-metadata.json +++ b/test/test-pages/breitbart/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "'Neutral' Snopes Fact-Checker David Emery: 'Are There Any Un-Angry Trump Supporters?' - Breitbart", - "Author": "by Lucas Nolan22 Dec 2016651", - "Direction": null, - "Excerpt": "Snopes fact checker and staff writer David Emery posted to Twitter asking if there were “any un-angry Trump supporters?”" -} + "Title": "'Neutral' Snopes Fact-Checker David Emery: 'Are There Any Un-Angry Trump Supporters?' - Breitbart", + "Author": "by Lucas Nolan22 Dec 2016651", + "Direction": null, + "Excerpt": "Snopes fact checker and staff writer David Emery posted to Twitter asking if there were “any un-angry Trump supporters?”", + "Image": "http:\/\/fakehost\/test\/480" +}
\ No newline at end of file diff --git a/test/test-pages/bug-1255978/expected-images.json b/test/test-pages/bug-1255978/expected-images.json index c4dc563..7da4a8f 100644 --- a/test/test-pages/bug-1255978/expected-images.json +++ b/test/test-pages/bug-1255978/expected-images.json @@ -1 +1,9 @@ -["https:\/\/static.independent.co.uk\/s3fs-public\/styles\/story_medium\/public\/thumbnails\/image\/2014\/03\/18\/10\/bandb2.jpg","https:\/\/static.independent.co.uk\/s3fs-public\/styles\/story_medium\/public\/thumbnails\/image\/2015\/05\/26\/11\/hotel-door-getty.jpg","https:\/\/static.independent.co.uk\/s3fs-public\/styles\/story_medium\/public\/thumbnails\/image\/2013\/07\/31\/15\/luggage-3.jpg","https:\/\/static.independent.co.uk\/s3fs-public\/styles\/story_medium\/public\/thumbnails\/image\/2015\/04\/13\/11\/Lifestyle-hotels.jpg","https:\/\/static.independent.co.uk\/s3fs-public\/styles\/story_medium\/public\/thumbnails\/image\/2014\/03\/13\/16\/agenda7.jpg","http:\/\/fakehost\/sites\/all\/themes\/ines_themes\/independent_theme\/img\/reuse.png"]
\ No newline at end of file +[ + "https:\/\/static.independent.co.uk\/s3fs-public\/thumbnails\/image\/2015\/12\/06\/10\/bed-hotel-room.jpg", + "https:\/\/static.independent.co.uk\/s3fs-public\/styles\/story_medium\/public\/thumbnails\/image\/2014\/03\/18\/10\/bandb2.jpg", + "https:\/\/static.independent.co.uk\/s3fs-public\/styles\/story_medium\/public\/thumbnails\/image\/2015\/05\/26\/11\/hotel-door-getty.jpg", + "https:\/\/static.independent.co.uk\/s3fs-public\/styles\/story_medium\/public\/thumbnails\/image\/2013\/07\/31\/15\/luggage-3.jpg", + "https:\/\/static.independent.co.uk\/s3fs-public\/styles\/story_medium\/public\/thumbnails\/image\/2015\/04\/13\/11\/Lifestyle-hotels.jpg", + "https:\/\/static.independent.co.uk\/s3fs-public\/styles\/story_medium\/public\/thumbnails\/image\/2014\/03\/13\/16\/agenda7.jpg", + "http:\/\/fakehost\/sites\/all\/themes\/ines_themes\/independent_theme\/img\/reuse.png" +]
\ No newline at end of file diff --git a/test/test-pages/bug-1255978/expected-metadata.json b/test/test-pages/bug-1255978/expected-metadata.json index db7c652..e85fe42 100644 --- a/test/test-pages/bug-1255978/expected-metadata.json +++ b/test/test-pages/bug-1255978/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "Seven secrets that hotel owners don't want you to know", - "Author": "Hazel Sheffield", - "Direction": null, - "Excerpt": "Most people go to hotels for the pleasure of sleeping in a giant bed with clean white sheets and waking up to fresh towels in the morning. But those towels and sheets might not be as clean as they look, according to the hotel bosses that responded to an online thread about the things hotel owners don’t want you to know." -} + "Title": "Seven secrets that hotel owners don't want you to know", + "Author": "Hazel Sheffield", + "Direction": null, + "Excerpt": "Most people go to hotels for the pleasure of sleeping in a giant bed with clean white sheets and waking up to fresh towels in the morning. But those towels and sheets might not be as clean as they look, according to the hotel bosses that responded to an online thread about the things hotel owners don’t want you to know.", + "Image": "https:\/\/static.independent.co.uk\/s3fs-public\/thumbnails\/image\/2015\/12\/06\/10\/bed-hotel-room.jpg" +}
\ No newline at end of file diff --git a/test/test-pages/buzzfeed-1/expected-images.json b/test/test-pages/buzzfeed-1/expected-images.json index 3064b98..d648129 100644 --- a/test/test-pages/buzzfeed-1/expected-images.json +++ b/test/test-pages/buzzfeed-1/expected-images.json @@ -1 +1,5 @@ -["http:\/\/s3-static-ak.buzzfed.com\/static\/2015-04\/22\/5\/campaign_images\/webdr03\/student-dies-after-diet-pills-she-bought-online-b-2-28712-1429696299-24_big.jpg","http:\/\/ak-hdl.buzzfed.com\/static\/2015-04\/21\/5\/enhanced\/webdr12\/grid-cell-2501-1429608056-15.jpg","http:\/\/ak-hdl.buzzfed.com\/static\/2015-04\/21\/5\/enhanced\/webdr12\/grid-cell-2501-1429608057-18.jpg"]
\ No newline at end of file +[ + "http:\/\/fakehost\/test\/412", + "http:\/\/ak-hdl.buzzfed.com\/static\/2015-04\/21\/5\/enhanced\/webdr12\/grid-cell-2501-1429608056-15.jpg", + "http:\/\/ak-hdl.buzzfed.com\/static\/2015-04\/21\/5\/enhanced\/webdr12\/grid-cell-2501-1429608057-18.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/buzzfeed-1/expected-metadata.json b/test/test-pages/buzzfeed-1/expected-metadata.json index 5b04b83..1966ef9 100644 --- a/test/test-pages/buzzfeed-1/expected-metadata.json +++ b/test/test-pages/buzzfeed-1/expected-metadata.json @@ -1,4 +1,7 @@ { - "Title": "Student Dies After Diet Pills She Bought Online \"Burned Her Up From Within\"", - "Excerpt": "An inquest into Eloise Parry's death has been adjourned until July." -} + "Title": "Student Dies After Diet Pills She Bought Online \"Burned Her Up From Within\"", + "Excerpt": "An inquest into Eloise Parry's death has been adjourned until July.", + "Image": "http:\/\/fakehost\/test\/412", + "Author": null, + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/challenges/expected-images.json b/test/test-pages/challenges/expected-images.json index 0637a08..c9eb0ac 100644 --- a/test/test-pages/challenges/expected-images.json +++ b/test/test-pages/challenges/expected-images.json @@ -1 +1,3 @@ -[]
\ No newline at end of file +[ + "http:\/\/fakehost\/img\/cha\/placeholders\/placeholder_1000x750.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/challenges/expected-metadata.json b/test/test-pages/challenges/expected-metadata.json index 3b8b0a4..e5e7f10 100644 --- a/test/test-pages/challenges/expected-metadata.json +++ b/test/test-pages/challenges/expected-metadata.json @@ -1,3 +1,7 @@ { - "Title": "Les motivations du tueur de Las Vegas demeurent floues" -} + "Title": "Les motivations du tueur de Las Vegas demeurent floues", + "Image": "http:\/\/fakehost\/img\/cha\/placeholders\/placeholder_1000x750.jpg", + "Author": null, + "Direction": null, + "Excerpt": "par Alexandria Sage et Lisa Girion" +}
\ No newline at end of file diff --git a/test/test-pages/clean-links/expected-images.json b/test/test-pages/clean-links/expected-images.json index 304e067..be86a58 100644 --- a/test/test-pages/clean-links/expected-images.json +++ b/test/test-pages/clean-links/expected-images.json @@ -1 +1,3 @@ -["http:\/\/fakehost\/test\/hmhome.gif "]
\ No newline at end of file +[ + "http:\/\/fakehost\/test\/hmhome.gif " +]
\ No newline at end of file diff --git a/test/test-pages/clean-links/expected-metadata.json b/test/test-pages/clean-links/expected-metadata.json index 7993d55..9fd9722 100644 --- a/test/test-pages/clean-links/expected-metadata.json +++ b/test/test-pages/clean-links/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Bartleby the Scrivener Web Study Text", - "Author": null, - "Excerpt": "Ere introducing the scrivener, as he first appeared to me, it is fit \n I make some mention of myself, my employees, my business, my chambers, \n and general surroundings; because some such description is indispensable \n to an adequate understanding of the chief character about to be presented." -} + "Title": "Bartleby the Scrivener Web Study Text", + "Author": null, + "Excerpt": "Ere introducing the scrivener, as he first appeared to me, it is fit \n I make some mention of myself, my employees, my business, my chambers, \n and general surroundings; because some such description is indispensable \n to an adequate understanding of the chief character about to be presented.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/cnet-svg-classes/expected-images.json b/test/test-pages/cnet-svg-classes/expected-images.json index 3807681..f83aea1 100644 --- a/test/test-pages/cnet-svg-classes/expected-images.json +++ b/test/test-pages/cnet-svg-classes/expected-images.json @@ -1 +1,5 @@ -["https:\/\/cdn2.cnet.com\/img\/LI8y19stcvIQUdzbYdH4-DAigtc=\/fit-in\/570x0\/2017\/12\/01\/b36ce794-e0b8-495c-a198-184923a8f4e9\/twitter-lite.jpg","https:\/\/cdn1.cnet.com\/img\/mWcZaiA8Ngv61OQcpdoh6Ra9nY0=\/170x96\/2017\/11\/13\/70540d7a-cbc5-4563-ab86-b5549ef68168\/oneplus-5t-product-21.jpg"]
\ No newline at end of file +[ + "https:\/\/cdn1.cnet.com\/img\/JumVcu1ZSLtPP8ui0UWaSlgi5RU=\/670x503\/2017\/12\/01\/b36ce794-e0b8-495c-a198-184923a8f4e9\/twitter-lite.jpg", + "https:\/\/cdn2.cnet.com\/img\/LI8y19stcvIQUdzbYdH4-DAigtc=\/fit-in\/570x0\/2017\/12\/01\/b36ce794-e0b8-495c-a198-184923a8f4e9\/twitter-lite.jpg", + "https:\/\/cdn1.cnet.com\/img\/mWcZaiA8Ngv61OQcpdoh6Ra9nY0=\/170x96\/2017\/11\/13\/70540d7a-cbc5-4563-ab86-b5549ef68168\/oneplus-5t-product-21.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/cnet-svg-classes/expected-metadata.json b/test/test-pages/cnet-svg-classes/expected-metadata.json index ebebc0f..a6ca13d 100644 --- a/test/test-pages/cnet-svg-classes/expected-metadata.json +++ b/test/test-pages/cnet-svg-classes/expected-metadata.json @@ -1,4 +1,7 @@ { - "Title": "Twitter Lite se estrena en México, Venezuela y otros nueve países", - "Excerpt": "Twitter Lite llega a 11 países de América Latina, para ayudar a los usuarios con mala señal de sus redes móviles." -} + "Title": "Twitter Lite se estrena en México, Venezuela y otros nueve países", + "Excerpt": "Twitter Lite llega a 11 países de América Latina, para ayudar a los usuarios con mala señal de sus redes móviles.", + "Image": "https:\/\/cdn1.cnet.com\/img\/JumVcu1ZSLtPP8ui0UWaSlgi5RU=\/670x503\/2017\/12\/01\/b36ce794-e0b8-495c-a198-184923a8f4e9\/twitter-lite.jpg", + "Author": null, + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/cnet/expected-images.json b/test/test-pages/cnet/expected-images.json index c7a3000..e8bdae4 100644 --- a/test/test-pages/cnet/expected-images.json +++ b/test/test-pages/cnet/expected-images.json @@ -1 +1,4 @@ -["https:\/\/cnet1.cbsistatic.com\/img\/nAMdBzIE1ogVw5bOBZBaiJCt3Ro=\/570x0\/2014\/03\/21\/863df5d9-e8b8-4b38-851b-5e3f77f2cf0e\/mark-zuckerberg-facebook-home-10671610x407.jpg"]
\ No newline at end of file +[ + "https:\/\/cnet3.cbsistatic.com\/img\/1JaRRjqhoGxDVkFxTRRWkZgyK2Q=\/670x503\/2014\/03\/21\/863df5d9-e8b8-4b38-851b-5e3f77f2cf0e\/mark-zuckerberg-facebook-home-10671610x407.jpg", + "https:\/\/cnet1.cbsistatic.com\/img\/nAMdBzIE1ogVw5bOBZBaiJCt3Ro=\/570x0\/2014\/03\/21\/863df5d9-e8b8-4b38-851b-5e3f77f2cf0e\/mark-zuckerberg-facebook-home-10671610x407.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/cnet/expected-metadata.json b/test/test-pages/cnet/expected-metadata.json index 744652d..e120194 100644 --- a/test/test-pages/cnet/expected-metadata.json +++ b/test/test-pages/cnet/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "Zuckerberg offers peek at Facebook's acquisition strategies", - "Author": "Steven Musil", - "Direction": null, - "Excerpt": "Facebook CEO says be a friend and have a shared vision, but scare them when you have to and move fast." -} + "Title": "Zuckerberg offers peek at Facebook's acquisition strategies", + "Author": "Steven Musil", + "Direction": null, + "Excerpt": "Facebook CEO says be a friend and have a shared vision, but scare them when you have to and move fast.", + "Image": "https:\/\/cnet3.cbsistatic.com\/img\/1JaRRjqhoGxDVkFxTRRWkZgyK2Q=\/670x503\/2014\/03\/21\/863df5d9-e8b8-4b38-851b-5e3f77f2cf0e\/mark-zuckerberg-facebook-home-10671610x407.jpg" +}
\ No newline at end of file diff --git a/test/test-pages/cnn/expected-images.json b/test/test-pages/cnn/expected-images.json index b3a7991..93a8c33 100644 --- a/test/test-pages/cnn/expected-images.json +++ b/test/test-pages/cnn/expected-images.json @@ -1 +1,3 @@ -["http:\/\/i2.cdn.turner.com\/money\/dam\/assets\/141103182938-income-inequality-780x439.png"]
\ No newline at end of file +[ + "http:\/\/i2.cdn.turner.com\/money\/dam\/assets\/141103182938-income-inequality-780x439.png" +]
\ No newline at end of file diff --git a/test/test-pages/cnn/expected-metadata.json b/test/test-pages/cnn/expected-metadata.json index d88d406..978bdf7 100644 --- a/test/test-pages/cnn/expected-metadata.json +++ b/test/test-pages/cnn/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "The 'birth lottery' and economic mobility", - "Author": "Ahiza Garcia", - "Direction": null, - "Excerpt": "A recently-released report on poverty and inequality found that the U.S. ranks the lowest among countries with welfare states." -} + "Title": "The 'birth lottery' and economic mobility", + "Author": "Ahiza Garcia", + "Direction": null, + "Excerpt": "A recently-released report on poverty and inequality found that the U.S. ranks the lowest among countries with welfare states.", + "Image": "http:\/\/i2.cdn.turner.com\/money\/dam\/assets\/141103182938-income-inequality-780x439.png" +}
\ No newline at end of file diff --git a/test/test-pages/comment-inside-script-parsing/expected-metadata.json b/test/test-pages/comment-inside-script-parsing/expected-metadata.json index e5ad501..65dd54e 100644 --- a/test/test-pages/comment-inside-script-parsing/expected-metadata.json +++ b/test/test-pages/comment-inside-script-parsing/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Test script parsing", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua." -} + "Title": "Test script parsing", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/daringfireball-1/expected-images.json b/test/test-pages/daringfireball-1/expected-images.json index 3566bf3..888aa85 100644 --- a/test/test-pages/daringfireball-1/expected-images.json +++ b/test/test-pages/daringfireball-1/expected-images.json @@ -1 +1,3 @@ -["http:\/\/fakehost\/graphics\/author\/addison-bw-425.jpg"]
\ No newline at end of file +[ + "http:\/\/fakehost\/graphics\/author\/addison-bw-425.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/daringfireball-1/expected-metadata.json b/test/test-pages/daringfireball-1/expected-metadata.json index 477261f..e7c3e77 100644 --- a/test/test-pages/daringfireball-1/expected-metadata.json +++ b/test/test-pages/daringfireball-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Daring Fireball: Colophon", - "Author": null, - "Excerpt": "Daring Fireball is written and produced by John Gruber." -} + "Title": "Daring Fireball: Colophon", + "Author": null, + "Excerpt": "Daring Fireball is written and produced by John Gruber.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/different-sources-for-images/expected-images.json b/test/test-pages/different-sources-for-images/expected-images.json index 1c779c7..12cfc8c 100644 --- a/test/test-pages/different-sources-for-images/expected-images.json +++ b/test/test-pages/different-sources-for-images/expected-images.json @@ -1 +1,7 @@ -["https:\/\/test\/foo\/bar\/src.jpg","https:\/\/test\/foo\/bar\/data-original.jpg","https:\/\/test\/foo\/bar\/data-orig.jpg","https:\/\/test\/foo\/bar\/data-url.jpg","https:\/\/test\/foo\/bar\/data-src.jpg"]
\ No newline at end of file +[ + "https:\/\/test\/foo\/bar\/src.jpg", + "https:\/\/test\/foo\/bar\/data-original.jpg", + "https:\/\/test\/foo\/bar\/data-orig.jpg", + "https:\/\/test\/foo\/bar\/data-url.jpg", + "https:\/\/test\/foo\/bar\/data-src.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/different-sources-for-images/expected-metadata.json b/test/test-pages/different-sources-for-images/expected-metadata.json index 31f1ff3..e90c53b 100644 --- a/test/test-pages/different-sources-for-images/expected-metadata.json +++ b/test/test-pages/different-sources-for-images/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Image sources test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum." -} + "Title": "Image sources test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/ehow-1/expected-images.json b/test/test-pages/ehow-1/expected-images.json index 877f5f0..d0e6496 100644 --- a/test/test-pages/ehow-1/expected-images.json +++ b/test/test-pages/ehow-1/expected-images.json @@ -1 +1,14 @@ -["http:\/\/img-aws.ehowcdn.com\/640\/cme\/photography.prod.demandstudios.com\/16149374-814f-40bc-baf3-ca20f149f0ba.jpg","http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/fc249ef6-4d27-41b4-8c21-15f7a8512b50.jpg","http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/aae11d4d-a4aa-4251-a4d9-41023ebf6d84.jpg","http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/7afdfa1e-da74-44b5-b89c-ca8123516272.jpg","http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/4f6612c0-316a-4c74-bb03-cb4e778f6d72.jpg","http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/eeb1e0b4-e573-40a3-8db1-2c76f0b13b84.jpg","http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/812d4649-4152-4363-97c0-f181d02e709a.jpg","http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/0cb3988c-9318-47d6-bc9c-c798da1ede72.jpg","http:\/\/img-aws.ehowcdn.com\/640\/cme\/photography.prod.demandstudios.com\/e3e18f0b-ab2c-4ffb-9988-a1ea63faef8b.jpg","http:\/\/img-aws.ehowcdn.com\/640\/cme\/photography.prod.demandstudios.com\/2cd79f8d-0d16-4573-8861-e47fb74b0638.jpg","http:\/\/img-aws.ehowcdn.com\/640\/cme\/photography.prod.demandstudios.com\/78670312-8636-4c42-a75c-3029f7aa6c73.jpg"]
\ No newline at end of file +[ + "http:\/\/img-aws.ehowcdn.com\/200x200\/cme\/photography.prod.demandstudios.com\/16149374-814f-40bc-baf3-ca20f149f0ba.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/photography.prod.demandstudios.com\/16149374-814f-40bc-baf3-ca20f149f0ba.jpg", + "http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/fc249ef6-4d27-41b4-8c21-15f7a8512b50.jpg", + "http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/aae11d4d-a4aa-4251-a4d9-41023ebf6d84.jpg", + "http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/7afdfa1e-da74-44b5-b89c-ca8123516272.jpg", + "http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/4f6612c0-316a-4c74-bb03-cb4e778f6d72.jpg", + "http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/eeb1e0b4-e573-40a3-8db1-2c76f0b13b84.jpg", + "http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/812d4649-4152-4363-97c0-f181d02e709a.jpg", + "http:\/\/img-aws.ehowcdn.com\/default\/cme\/photography.prod.demandstudios.com\/0cb3988c-9318-47d6-bc9c-c798da1ede72.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/photography.prod.demandstudios.com\/e3e18f0b-ab2c-4ffb-9988-a1ea63faef8b.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/photography.prod.demandstudios.com\/2cd79f8d-0d16-4573-8861-e47fb74b0638.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/photography.prod.demandstudios.com\/78670312-8636-4c42-a75c-3029f7aa6c73.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/ehow-1/expected-metadata.json b/test/test-pages/ehow-1/expected-metadata.json index 9e2782b..faac669 100644 --- a/test/test-pages/ehow-1/expected-metadata.json +++ b/test/test-pages/ehow-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "How to Build a Terrarium | eHow", - "Author": "Lucy Akins", - "Excerpt": "Glass cloche terrariums are not only appealing to the eye, but they also preserve a bit of nature in your home and serve as a simple, yet beautiful, piece of art. Closed terrariums are easy to care for, as they retain much of their own moisture and provide a warm environment with a consistent level of humidity. You won’t have to water the..." -} + "Title": "How to Build a Terrarium | eHow", + "Author": "Lucy Akins", + "Excerpt": "Glass cloche terrariums are not only appealing to the eye, but they also preserve a bit of nature in your home and serve as a simple, yet beautiful, piece of art. Closed terrariums are easy to care for, as they retain much of their own moisture and provide a warm environment with a consistent level of humidity. You won’t have to water the...", + "Image": "http:\/\/img-aws.ehowcdn.com\/200x200\/cme\/photography.prod.demandstudios.com\/16149374-814f-40bc-baf3-ca20f149f0ba.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/ehow-2/expected-images.json b/test/test-pages/ehow-2/expected-images.json index fab0b15..a6dcad5 100644 --- a/test/test-pages/ehow-2/expected-images.json +++ b/test/test-pages/ehow-2/expected-images.json @@ -1 +1,13 @@ -["http:\/\/img-aws.ehowcdn.com\/60x60\/cme\/cme_public_images\/www_demandstudios_com\/sitelife.studiod.com\/ver1.0\/Content\/images\/store\/9\/2\/d9dd6f61-b183-4893-927f-5b540e45be91.Small.jpg","http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/2F\/86\/5547EF62-EAF5-4256-945D-0496F61C862F\/5547EF62-EAF5-4256-945D-0496F61C862F.jpg","http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/FE\/CB\/121569D2-6984-4B2F-83C4-9D2D9A27CBFE\/121569D2-6984-4B2F-83C4-9D2D9A27CBFE.jpg","http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/DF\/FC\/A05B0252-BD73-4BC7-A09A-96F0A504FCDF\/A05B0252-BD73-4BC7-A09A-96F0A504FCDF.jpg","http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/EB\/DB\/8A04CCA7-3255-4225-B59A-C41441F8DBEB\/8A04CCA7-3255-4225-B59A-C41441F8DBEB.jpg","http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/94\/10\/08035476-0167-4A03-AADC-13A7E7AA1094\/08035476-0167-4A03-AADC-13A7E7AA1094.jpg","http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/06\/49\/4AD62696-FC95-4DA2-8351-42740C7B4906\/4AD62696-FC95-4DA2-8351-42740C7B4906.jpg","http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/D0\/51\/B6AED06C-5E19-4A26-9AAD-0E175F6251D0\/B6AED06C-5E19-4A26-9AAD-0E175F6251D0.jpg","http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/35\/B4\/DD5FD05A-B631-4AFE-BC8F-FDACAD1EB435\/DD5FD05A-B631-4AFE-BC8F-FDACAD1EB435.jpg","http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/A1\/FA\/2C368B34-8F6A-45F6-9DFC-0B0C4E33FAA1\/2C368B34-8F6A-45F6-9DFC-0B0C4E33FAA1.jpg"]
\ No newline at end of file +[ + "http:\/\/img-aws.ehowcdn.com\/200x200\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/2F\/86\/5547EF62-EAF5-4256-945D-0496F61C862F\/5547EF62-EAF5-4256-945D-0496F61C862F.jpg", + "http:\/\/img-aws.ehowcdn.com\/60x60\/cme\/cme_public_images\/www_demandstudios_com\/sitelife.studiod.com\/ver1.0\/Content\/images\/store\/9\/2\/d9dd6f61-b183-4893-927f-5b540e45be91.Small.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/2F\/86\/5547EF62-EAF5-4256-945D-0496F61C862F\/5547EF62-EAF5-4256-945D-0496F61C862F.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/FE\/CB\/121569D2-6984-4B2F-83C4-9D2D9A27CBFE\/121569D2-6984-4B2F-83C4-9D2D9A27CBFE.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/DF\/FC\/A05B0252-BD73-4BC7-A09A-96F0A504FCDF\/A05B0252-BD73-4BC7-A09A-96F0A504FCDF.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/EB\/DB\/8A04CCA7-3255-4225-B59A-C41441F8DBEB\/8A04CCA7-3255-4225-B59A-C41441F8DBEB.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/94\/10\/08035476-0167-4A03-AADC-13A7E7AA1094\/08035476-0167-4A03-AADC-13A7E7AA1094.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/06\/49\/4AD62696-FC95-4DA2-8351-42740C7B4906\/4AD62696-FC95-4DA2-8351-42740C7B4906.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/D0\/51\/B6AED06C-5E19-4A26-9AAD-0E175F6251D0\/B6AED06C-5E19-4A26-9AAD-0E175F6251D0.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/35\/B4\/DD5FD05A-B631-4AFE-BC8F-FDACAD1EB435\/DD5FD05A-B631-4AFE-BC8F-FDACAD1EB435.jpg", + "http:\/\/img-aws.ehowcdn.com\/640\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/A1\/FA\/2C368B34-8F6A-45F6-9DFC-0B0C4E33FAA1\/2C368B34-8F6A-45F6-9DFC-0B0C4E33FAA1.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/ehow-2/expected-metadata.json b/test/test-pages/ehow-2/expected-metadata.json index 2967b61..e563673 100644 --- a/test/test-pages/ehow-2/expected-metadata.json +++ b/test/test-pages/ehow-2/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "How to Throw a Graduation Party on a Budget | eHow", - "Author": "Gina Roberts-Grey", - "Excerpt": "Graduation parties are a great way to commemorate the years of hard work teens and college co-eds devote to education. They’re also costly for mom and dad.The average cost of a graduation party in 2013 was a whopping $1,200, according to Graduationparty.com; $700 of that was allocated for food. However that budget was based on Midwestern..." -} + "Title": "How to Throw a Graduation Party on a Budget | eHow", + "Author": "Gina Roberts-Grey", + "Excerpt": "Graduation parties are a great way to commemorate the years of hard work teens and college co-eds devote to education. They’re also costly for mom and dad.The average cost of a graduation party in 2013 was a whopping $1,200, according to Graduationparty.com; $700 of that was allocated for food. However that budget was based on Midwestern...", + "Image": "http:\/\/img-aws.ehowcdn.com\/200x200\/cme\/cme_public_images\/www_ehow_com\/cdn-write.demandstudios.com\/upload\/image\/2F\/86\/5547EF62-EAF5-4256-945D-0496F61C862F\/5547EF62-EAF5-4256-945D-0496F61C862F.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/embedded-videos/expected-metadata.json b/test/test-pages/embedded-videos/expected-metadata.json index 46e3094..8473f13 100644 --- a/test/test-pages/embedded-videos/expected-metadata.json +++ b/test/test-pages/embedded-videos/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Embedded videos test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum." -} + "Title": "Embedded videos test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/engadget/expected-images.json b/test/test-pages/engadget/expected-images.json index 4c77ca8..ddc74f8 100644 --- a/test/test-pages/engadget/expected-images.json +++ b/test/test-pages/engadget/expected-images.json @@ -1 +1,14 @@ -["https:\/\/o.aolcdn.com\/images\/dims?thumbnail=45%2C45&quality=80&image_uri=http%3A%2F%2Fwww.blogcdn.com%2Fwww.engadget.com%2Fmedia%2F2016%2F03%2Fdevindra-engadget-headshot-small.jpg&client=cbc79c14efcebee57402&signature=e6ffba7468c380581b6589a70ce5d7c1ec40cd1d","https:\/\/o.aolcdn.com\/images\/dims?thumbnail=980%2C653&quality=80&image_uri=https%3A%2F%2Fs.blogcdn.com%2Fslideshows%2Fimages%2Fslides%2F714%2F208%2F8%2FS7142088%2Fslug%2Fl%2Fxbox-one-x-review-gallery-1-1.jpg&client=cbc79c14efcebee57402&signature=9bb08b52e12de8e4060f863a52c613489529818d","https:\/\/o.aolcdn.com\/images\/dims?crop=1600%2C1067%2C0%2C0&quality=85&format=jpg&resize=1600%2C1067&image_uri=http%3A%2F%2Fo.aolcdn.com%2Fhss%2Fstorage%2Fmidas%2F93beb86758ae1cf95721699e1e006e35%2F205826074%2FXbox%2BOne%2BX%2Breview%2Bgallery%2B7.jpg&client=a1acac3e1b3290917d92&signature=c0f2d36259c2c1decfb60aae364527cda2560d4a","https:\/\/o.aolcdn.com\/images\/dims?crop=1600%2C949%2C0%2C0&quality=85&format=jpg&resize=1600%2C949&image_uri=http%3A%2F%2Fo.aolcdn.com%2Fhss%2Fstorage%2Fmidas%2F9ece7fdad1e7025dec06ac9bf98688d0%2F205826075%2FXbox%2BOne%2BX%2Breview%2Bgallery%2B5.jpg&client=a1acac3e1b3290917d92&signature=9913883753141e7df322616bfe0bc41c6ecd80c8","https:\/\/o.aolcdn.com\/images\/dims?resize=980%2C640&quality=100&image_uri=https%3A%2F%2Fo.aolcdn.com%2Fimages%2Fdims%3Fcrop%3D1599%252C1043%252C0%252C0%26quality%3D85%26format%3Djpg%26resize%3D1600%252C1043%26image_uri%3Dhttp%253A%252F%252Fo.aolcdn.com%252Fhss%252Fstorage%252Fmidas%252F8b98ec8f6649158fe7448ac2f2695ac5%252F205826072%252FXbox%252BOne%252BX%252Breview%252Bgallery%252B6.jpg%26client%3Da1acac3e1b3290917d92%26signature%3D353dad1308f98c2c9dfc82c58a540a8b2f1fe63c&client=cbc79c14efcebee57402&signature=60b7c061460d0d45f5d367b8a9c62978af6b76ce","https:\/\/o.aolcdn.com\/images\/dims?resize=980%2C640&quality=100&image_uri=https%3A%2F%2Fo.aolcdn.com%2Fimages%2Fdims%3Fcrop%3D1600%252C900%252C0%252C0%26quality%3D85%26format%3Djpg%26resize%3D1600%252C900%26image_uri%3Dhttp%253A%252F%252Fo.aolcdn.com%252Fhss%252Fstorage%252Fmidas%252F1885534bd201fc37481b806645c1fc8b%252F205828119%252FXbox%252Bone%252BX%252Bscreenshot%252Bgallery%252B8.jpg%26client%3Da1acac3e1b3290917d92%26signature%3Df63cf67c88b37fd9424855984e45f6b950c8c11a&client=cbc79c14efcebee57402&signature=0adca80fc8ee26a7353be639082881450a5ad49f","https:\/\/o.aolcdn.com\/images\/dims?crop=1600%2C900%2C0%2C0&quality=85&format=jpg&resize=1600%2C900&image_uri=http%3A%2F%2Fo.aolcdn.com%2Fhss%2Fstorage%2Fmidas%2F8352a8a14e88e2ca2ba5be4d8381a055%2F205828115%2FXbox%2Bone%2BX%2Bscreenshot%2Bgallery%2B1.jpg&client=a1acac3e1b3290917d92&signature=d2ccb22e0eaabeb05bfe46e83dbe26fd07f01da8","https:\/\/o.aolcdn.com\/images\/dims?thumbnail=980%2C653&quality=80&image_uri=https%3A%2F%2Fs.blogcdn.com%2Fslideshows%2Fimages%2Fslides%2F714%2F292%2F4%2FS7142924%2Fslug%2Fl%2Fxbox-one-x-screenshot-gallery-2-1.jpg&client=cbc79c14efcebee57402&signature=38c95635c7aad58a8a48038e05589f5cf35b1e28","https:\/\/o.aolcdn.com\/images\/dims?crop=1600%2C900%2C0%2C0&quality=85&format=jpg&resize=1600%2C900&image_uri=http%3A%2F%2Fo.aolcdn.com%2Fhss%2Fstorage%2Fmidas%2Facb08903fbe26ad77b80db8c8e7e8fb1%2F205828118%2FXbox%2Bone%2BX%2Bscreenshot%2Bgallery%2B7.jpg&client=a1acac3e1b3290917d92&signature=21630fa5ec6d8fdce2c35f7e1f652636a2d8efe7","https:\/\/o.aolcdn.com\/images\/dims?resize=980%2C640&quality=100&image_uri=https%3A%2F%2Fo.aolcdn.com%2Fimages%2Fdims%3Fcrop%3D1600%252C1027%252C0%252C0%26quality%3D85%26format%3Djpg%26resize%3D1600%252C1027%26image_uri%3Dhttp%253A%252F%252Fo.aolcdn.com%252Fhss%252Fstorage%252Fmidas%252Fa2c8ba1caccdbb9e0559797e5141eafd%252F205826078%252FXbox%252BOne%252BX%252Breview%252Bgallery%252B11.jpg%26client%3Da1acac3e1b3290917d92%26signature%3Da11bcddced805c6e3698f8ce0494102aef057265&client=cbc79c14efcebee57402&signature=1e9bd192add2772bc842a34e67b7572cfd1b265a","https:\/\/o.aolcdn.com\/images\/dims?crop=1600%2C1028%2C0%2C0&quality=85&format=jpg&resize=1600%2C1028&image_uri=http%3A%2F%2Fo.aolcdn.com%2Fhss%2Fstorage%2Fmidas%2F5396460ef8b6bde7fb7272d9e66a7701%2F205826076%2FXbox%2BOne%2BX%2Breview%2Bgallery%2B9.jpg&client=a1acac3e1b3290917d92&signature=f5b5b4b986c2f8b5031a4469ae0ecec82aff65b0"]
\ No newline at end of file +[ + "http:\/\/fakehost\/test\/630", + "https:\/\/o.aolcdn.com\/images\/dims?thumbnail=45%2C45&quality=80&image_uri=http%3A%2F%2Fwww.blogcdn.com%2Fwww.engadget.com%2Fmedia%2F2016%2F03%2Fdevindra-engadget-headshot-small.jpg&client=cbc79c14efcebee57402&signature=e6ffba7468c380581b6589a70ce5d7c1ec40cd1d", + "https:\/\/o.aolcdn.com\/images\/dims?thumbnail=980%2C653&quality=80&image_uri=https%3A%2F%2Fs.blogcdn.com%2Fslideshows%2Fimages%2Fslides%2F714%2F208%2F8%2FS7142088%2Fslug%2Fl%2Fxbox-one-x-review-gallery-1-1.jpg&client=cbc79c14efcebee57402&signature=9bb08b52e12de8e4060f863a52c613489529818d", + "https:\/\/o.aolcdn.com\/images\/dims?crop=1600%2C1067%2C0%2C0&quality=85&format=jpg&resize=1600%2C1067&image_uri=http%3A%2F%2Fo.aolcdn.com%2Fhss%2Fstorage%2Fmidas%2F93beb86758ae1cf95721699e1e006e35%2F205826074%2FXbox%2BOne%2BX%2Breview%2Bgallery%2B7.jpg&client=a1acac3e1b3290917d92&signature=c0f2d36259c2c1decfb60aae364527cda2560d4a", + "https:\/\/o.aolcdn.com\/images\/dims?crop=1600%2C949%2C0%2C0&quality=85&format=jpg&resize=1600%2C949&image_uri=http%3A%2F%2Fo.aolcdn.com%2Fhss%2Fstorage%2Fmidas%2F9ece7fdad1e7025dec06ac9bf98688d0%2F205826075%2FXbox%2BOne%2BX%2Breview%2Bgallery%2B5.jpg&client=a1acac3e1b3290917d92&signature=9913883753141e7df322616bfe0bc41c6ecd80c8", + "https:\/\/o.aolcdn.com\/images\/dims?resize=980%2C640&quality=100&image_uri=https%3A%2F%2Fo.aolcdn.com%2Fimages%2Fdims%3Fcrop%3D1599%252C1043%252C0%252C0%26quality%3D85%26format%3Djpg%26resize%3D1600%252C1043%26image_uri%3Dhttp%253A%252F%252Fo.aolcdn.com%252Fhss%252Fstorage%252Fmidas%252F8b98ec8f6649158fe7448ac2f2695ac5%252F205826072%252FXbox%252BOne%252BX%252Breview%252Bgallery%252B6.jpg%26client%3Da1acac3e1b3290917d92%26signature%3D353dad1308f98c2c9dfc82c58a540a8b2f1fe63c&client=cbc79c14efcebee57402&signature=60b7c061460d0d45f5d367b8a9c62978af6b76ce", + "https:\/\/o.aolcdn.com\/images\/dims?resize=980%2C640&quality=100&image_uri=https%3A%2F%2Fo.aolcdn.com%2Fimages%2Fdims%3Fcrop%3D1600%252C900%252C0%252C0%26quality%3D85%26format%3Djpg%26resize%3D1600%252C900%26image_uri%3Dhttp%253A%252F%252Fo.aolcdn.com%252Fhss%252Fstorage%252Fmidas%252F1885534bd201fc37481b806645c1fc8b%252F205828119%252FXbox%252Bone%252BX%252Bscreenshot%252Bgallery%252B8.jpg%26client%3Da1acac3e1b3290917d92%26signature%3Df63cf67c88b37fd9424855984e45f6b950c8c11a&client=cbc79c14efcebee57402&signature=0adca80fc8ee26a7353be639082881450a5ad49f", + "https:\/\/o.aolcdn.com\/images\/dims?crop=1600%2C900%2C0%2C0&quality=85&format=jpg&resize=1600%2C900&image_uri=http%3A%2F%2Fo.aolcdn.com%2Fhss%2Fstorage%2Fmidas%2F8352a8a14e88e2ca2ba5be4d8381a055%2F205828115%2FXbox%2Bone%2BX%2Bscreenshot%2Bgallery%2B1.jpg&client=a1acac3e1b3290917d92&signature=d2ccb22e0eaabeb05bfe46e83dbe26fd07f01da8", + "https:\/\/o.aolcdn.com\/images\/dims?thumbnail=980%2C653&quality=80&image_uri=https%3A%2F%2Fs.blogcdn.com%2Fslideshows%2Fimages%2Fslides%2F714%2F292%2F4%2FS7142924%2Fslug%2Fl%2Fxbox-one-x-screenshot-gallery-2-1.jpg&client=cbc79c14efcebee57402&signature=38c95635c7aad58a8a48038e05589f5cf35b1e28", + "https:\/\/o.aolcdn.com\/images\/dims?crop=1600%2C900%2C0%2C0&quality=85&format=jpg&resize=1600%2C900&image_uri=http%3A%2F%2Fo.aolcdn.com%2Fhss%2Fstorage%2Fmidas%2Facb08903fbe26ad77b80db8c8e7e8fb1%2F205828118%2FXbox%2Bone%2BX%2Bscreenshot%2Bgallery%2B7.jpg&client=a1acac3e1b3290917d92&signature=21630fa5ec6d8fdce2c35f7e1f652636a2d8efe7", + "https:\/\/o.aolcdn.com\/images\/dims?resize=980%2C640&quality=100&image_uri=https%3A%2F%2Fo.aolcdn.com%2Fimages%2Fdims%3Fcrop%3D1600%252C1027%252C0%252C0%26quality%3D85%26format%3Djpg%26resize%3D1600%252C1027%26image_uri%3Dhttp%253A%252F%252Fo.aolcdn.com%252Fhss%252Fstorage%252Fmidas%252Fa2c8ba1caccdbb9e0559797e5141eafd%252F205826078%252FXbox%252BOne%252BX%252Breview%252Bgallery%252B11.jpg%26client%3Da1acac3e1b3290917d92%26signature%3Da11bcddced805c6e3698f8ce0494102aef057265&client=cbc79c14efcebee57402&signature=1e9bd192add2772bc842a34e67b7572cfd1b265a", + "https:\/\/o.aolcdn.com\/images\/dims?crop=1600%2C1028%2C0%2C0&quality=85&format=jpg&resize=1600%2C1028&image_uri=http%3A%2F%2Fo.aolcdn.com%2Fhss%2Fstorage%2Fmidas%2F5396460ef8b6bde7fb7272d9e66a7701%2F205826076%2FXbox%2BOne%2BX%2Breview%2Bgallery%2B9.jpg&client=a1acac3e1b3290917d92&signature=f5b5b4b986c2f8b5031a4469ae0ecec82aff65b0" +]
\ No newline at end of file diff --git a/test/test-pages/engadget/expected-metadata.json b/test/test-pages/engadget/expected-metadata.json index eb1ed25..0eb0040 100644 --- a/test/test-pages/engadget/expected-metadata.json +++ b/test/test-pages/engadget/expected-metadata.json @@ -1,4 +1,7 @@ { - "Title": "Xbox One X review: A console that keeps up with gaming PCs", - "Excerpt": "The Xbox One X is the most powerful gaming console ever, but it's not for everyone yet." -} + "Title": "Xbox One X review: A console that keeps up with gaming PCs", + "Excerpt": "The Xbox One X is the most powerful gaming console ever, but it's not for everyone yet.", + "Image": "http:\/\/fakehost\/test\/630", + "Author": null, + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/fortressofsolitude/expected-images.json b/test/test-pages/fortressofsolitude/expected-images.json index 0c48410..3073374 100644 --- a/test/test-pages/fortressofsolitude/expected-images.json +++ b/test/test-pages/fortressofsolitude/expected-images.json @@ -1 +1,4 @@ -["http:\/\/www.fortressofsolitude.co.za\/wp-content\/uploads\/2018\/05\/C\u00e9line-Dion-Belches-Her-Way-Onto-Deadpool-2s-Soundtrack-750x400.jpg"]
\ No newline at end of file +[ + "http:\/\/fakehost\/test\/Céline Dion Belches Her Way Onto Deadpool 2's Soundtrack", + "http:\/\/www.fortressofsolitude.co.za\/wp-content\/uploads\/2018\/05\/Céline-Dion-Belches-Her-Way-Onto-Deadpool-2s-Soundtrack-750x400.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/fortressofsolitude/expected-metadata.json b/test/test-pages/fortressofsolitude/expected-metadata.json index 2efe2a7..17c133e 100644 --- a/test/test-pages/fortressofsolitude/expected-metadata.json +++ b/test/test-pages/fortressofsolitude/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Céline Dion Belches Her Way Onto Deadpool 2's Soundtrack", - "Author": "Written by Edward Wallace", - "Excerpt": "Just when you think the marketing behind the film couldn't get any more amazing, they go and release a music video from the Deadpool 2 soundtrack starring Canadian singer Céline Dion." -} + "Title": "Céline Dion Belches Her Way Onto Deadpool 2's Soundtrack", + "Author": "Written by Edward Wallace", + "Excerpt": "Just when you think the marketing behind the film couldn't get any more amazing, they go and release a music video from the Deadpool 2 soundtrack starring Canadian singer Céline Dion.", + "Image": "http:\/\/fakehost\/test\/Céline Dion Belches Her Way Onto Deadpool 2's Soundtrack", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/gmw/expected-images.json b/test/test-pages/gmw/expected-images.json index e31ccd2..79181b2 100644 --- a/test/test-pages/gmw/expected-images.json +++ b/test/test-pages/gmw/expected-images.json @@ -1 +1,6 @@ -["http:\/\/imgtech.gmw.cn\/attachement\/jpg\/site2\/20170310\/448a5bc1e2861a2c4e5929.jpg","http:\/\/imgtech.gmw.cn\/attachement\/jpg\/site2\/20170310\/448a5bc1e2861a2c4e592a.jpg","http:\/\/imgtech.gmw.cn\/attachement\/jpg\/site2\/20170310\/448a5bc1e2861a2c4e592d.jpg","https:\/\/img.gmw.cn\/pic\/content_logo.png"]
\ No newline at end of file +[ + "http:\/\/imgtech.gmw.cn\/attachement\/jpg\/site2\/20170310\/448a5bc1e2861a2c4e5929.jpg", + "http:\/\/imgtech.gmw.cn\/attachement\/jpg\/site2\/20170310\/448a5bc1e2861a2c4e592a.jpg", + "http:\/\/imgtech.gmw.cn\/attachement\/jpg\/site2\/20170310\/448a5bc1e2861a2c4e592d.jpg", + "https:\/\/img.gmw.cn\/pic\/content_logo.png" +]
\ No newline at end of file diff --git a/test/test-pages/gmw/expected-metadata.json b/test/test-pages/gmw/expected-metadata.json index 2997886..eb5f7f8 100644 --- a/test/test-pages/gmw/expected-metadata.json +++ b/test/test-pages/gmw/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "宇航员在太空中喝酒会怎么样?后果很严重 _探索者 _光明网", - "Author": "肖春芳", - "Direction": null, - "Excerpt": "不幸的是,对于希望能喝上一杯的太空探险者,那些将他们送上太空的政府机构普遍禁止他们染指包括酒在内的含酒精饮料。" -} + "Title": "宇航员在太空中喝酒会怎么样?后果很严重 _探索者 _光明网", + "Author": "肖春芳", + "Direction": null, + "Excerpt": "不幸的是,对于希望能喝上一杯的太空探险者,那些将他们送上太空的政府机构普遍禁止他们染指包括酒在内的含酒精饮料。", + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/heise/expected-images.json b/test/test-pages/heise/expected-images.json index 9cc49ac..07cba8b 100644 --- a/test/test-pages/heise/expected-images.json +++ b/test/test-pages/heise/expected-images.json @@ -1 +1,4 @@ -["http:\/\/3.f.ix.de\/scale\/geometry\/600\/q75\/imgs\/18\/1\/4\/6\/2\/3\/5\/1\/Barcode-Scanner-With-Border-fc08c913da5cea5d.jpeg"]
\ No newline at end of file +[ + "http:\/\/www.heise.de\/imgs\/18\/1\/4\/6\/2\/3\/5\/1\/Barcode-Scanner-With-Border-f0c62350bd8d9d96.jpeg", + "http:\/\/3.f.ix.de\/scale\/geometry\/600\/q75\/imgs\/18\/1\/4\/6\/2\/3\/5\/1\/Barcode-Scanner-With-Border-fc08c913da5cea5d.jpeg" +]
\ No newline at end of file diff --git a/test/test-pages/heise/expected-metadata.json b/test/test-pages/heise/expected-metadata.json index ae180bf..9044ea1 100644 --- a/test/test-pages/heise/expected-metadata.json +++ b/test/test-pages/heise/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "1Password für Mac generiert Einmal-Passwörter", - "Author": "Mac & i", - "Excerpt": "Das in der iOS-Version bereits enthaltene TOTP-Feature ist nun auch für OS X 10.10 verfügbar. Zudem gibt es neue Zusatzfelder in der Datenbank und weitere Verbesserungen." -} + "Title": "1Password für Mac generiert Einmal-Passwörter", + "Author": "Mac & i", + "Excerpt": "Das in der iOS-Version bereits enthaltene TOTP-Feature ist nun auch für OS X 10.10 verfügbar. Zudem gibt es neue Zusatzfelder in der Datenbank und weitere Verbesserungen.", + "Image": "http:\/\/www.heise.de\/imgs\/18\/1\/4\/6\/2\/3\/5\/1\/Barcode-Scanner-With-Border-f0c62350bd8d9d96.jpeg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/herald-sun-1/expected-images.json b/test/test-pages/herald-sun-1/expected-images.json index 195191d..a26021c 100644 --- a/test/test-pages/herald-sun-1/expected-images.json +++ b/test/test-pages/herald-sun-1/expected-images.json @@ -1 +1,3 @@ -["http:\/\/api.news.com.au\/content\/1.0\/heraldsun\/images\/1227261885862?format=jpg&group=iphone&size=medium"]
\ No newline at end of file +[ + "http:\/\/api.news.com.au\/content\/1.0\/heraldsun\/images\/1227261885862?format=jpg&group=iphone&size=medium" +]
\ No newline at end of file diff --git a/test/test-pages/herald-sun-1/expected-metadata.json b/test/test-pages/herald-sun-1/expected-metadata.json index b8ad6c2..47ae6e9 100644 --- a/test/test-pages/herald-sun-1/expected-metadata.json +++ b/test/test-pages/herald-sun-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Angry media won’t buckle over new surveillance laws", - "Author": "JOE HILDEBRAND", - "Excerpt": "A HIGH-powered federal government team has been doing the rounds of media organisations in the past few days in an attempt to allay concerns about the impact of new surveillance legislation on press freedom. It failed." -} + "Title": "Angry media won’t buckle over new surveillance laws", + "Author": "JOE HILDEBRAND", + "Excerpt": "A HIGH-powered federal government team has been doing the rounds of media organisations in the past few days in an attempt to allay concerns about the impact of new surveillance legislation on press freedom. It failed.", + "Image": "http:\/\/api.news.com.au\/content\/1.0\/heraldsun\/images\/1227261885862?format=jpg&group=iphone&size=medium", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/hidden-nodes/expected-metadata.json b/test/test-pages/hidden-nodes/expected-metadata.json index 37bab58..0642498 100644 --- a/test/test-pages/hidden-nodes/expected-metadata.json +++ b/test/test-pages/hidden-nodes/expected-metadata.json @@ -1,4 +1,7 @@ { - "Title": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt", - "Excerpt": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet." -} + "Title": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt", + "Excerpt": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.", + "Author": null, + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/hukumusume/expected-images.json b/test/test-pages/hukumusume/expected-images.json index b70e87e..88d2990 100644 --- a/test/test-pages/hukumusume/expected-images.json +++ b/test/test-pages/hukumusume/expected-images.json @@ -1 +1,7 @@ -["http:\/\/fakehost\/test\/..\/..\/..\/gazou\/pc_gazou\/aesop\/aesop052.jpg","http:\/\/fakehost\/test\/..\/..\/..\/..\/366\/logo_bana\/corner_1.gif","http:\/\/fakehost\/test\/..\/..\/..\/..\/366\/logo_bana\/corner_2.gif","http:\/\/fakehost\/test\/..\/..\/..\/gazou\/origami_gazou\/kantan\/dogface.gif","http:\/\/fakehost\/test\/..\/..\/..\/gazou\/origami_gazou\/kantan\/dog.gif"]
\ No newline at end of file +[ + "http:\/\/fakehost\/test\/..\/..\/..\/gazou\/pc_gazou\/aesop\/aesop052.jpg", + "http:\/\/fakehost\/test\/..\/..\/..\/..\/366\/logo_bana\/corner_1.gif", + "http:\/\/fakehost\/test\/..\/..\/..\/..\/366\/logo_bana\/corner_2.gif", + "http:\/\/fakehost\/test\/..\/..\/..\/gazou\/origami_gazou\/kantan\/dogface.gif", + "http:\/\/fakehost\/test\/..\/..\/..\/gazou\/origami_gazou\/kantan\/dog.gif" +]
\ No newline at end of file diff --git a/test/test-pages/hukumusume/expected-metadata.json b/test/test-pages/hukumusume/expected-metadata.json index 97317fc..58f4852 100644 --- a/test/test-pages/hukumusume/expected-metadata.json +++ b/test/test-pages/hukumusume/expected-metadata.json @@ -1,4 +1,7 @@ { - "Title": "欲張りなイヌ <福娘童話集 きょうのイソップ童話>", - "Excerpt": "福娘童話集 > きょうのイソップ童話 > 1月のイソップ童話 > 欲張りなイヌ" -} + "Title": "欲張りなイヌ <福娘童話集 きょうのイソップ童話>", + "Excerpt": "福娘童話集 > きょうのイソップ童話 > 1月のイソップ童話 > 欲張りなイヌ", + "Author": null, + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/iab-1/expected-images.json b/test/test-pages/iab-1/expected-images.json index 9aaa2a8..f548bd9 100644 --- a/test/test-pages/iab-1/expected-images.json +++ b/test/test-pages/iab-1/expected-images.json @@ -1 +1,4 @@ -["http:\/\/www.iab.com\/wp-content\/uploads\/2015\/10\/getting-lean-with-digital-ad-ux-300x250.jpg","http:\/\/www.iab.com\/wp-content\/uploads\/2015\/05\/auto-draft-16-150x150.jpg"]
\ No newline at end of file +{ + "0": "http:\/\/www.iab.com\/wp-content\/uploads\/2015\/10\/getting-lean-with-digital-ad-ux-300x250.jpg", + "2": "http:\/\/www.iab.com\/wp-content\/uploads\/2015\/05\/auto-draft-16-150x150.jpg" +}
\ No newline at end of file diff --git a/test/test-pages/iab-1/expected-metadata.json b/test/test-pages/iab-1/expected-metadata.json index b1f885e..e804946 100644 --- a/test/test-pages/iab-1/expected-metadata.json +++ b/test/test-pages/iab-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Getting LEAN with Digital Ad UX | IAB", - "Author": "By\n\t\t\tScott Cunningham", - "Excerpt": "We messed up. As technologists, tasked with delivering content and services to users, we lost track of the user experience. Twenty years ago we saw an explosion of websites, built by developers around the world, providing all forms of content. This was the beginning of an age of enlightenment, the intersection of content and technology. … Continued" -} + "Title": "Getting LEAN with Digital Ad UX | IAB", + "Author": "By\n\t\t\tScott Cunningham", + "Excerpt": "We messed up. As technologists, tasked with delivering content and services to users, we lost track of the user experience. Twenty years ago we saw an explosion of websites, built by developers around the world, providing all forms of content. This was the beginning of an age of enlightenment, the intersection of content and technology. … Continued", + "Image": "http:\/\/www.iab.com\/wp-content\/uploads\/2015\/10\/getting-lean-with-digital-ad-ux-300x250.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/ietf-1/expected-metadata.json b/test/test-pages/ietf-1/expected-metadata.json index f783f67..95a5463 100644 --- a/test/test-pages/ietf-1/expected-metadata.json +++ b/test/test-pages/ietf-1/expected-metadata.json @@ -1,4 +1,7 @@ { - "Title": "remoteStorage", - "Author": "Jong, Michiel de" -} + "Title": "remoteStorage", + "Author": "Jong, Michiel de", + "Direction": null, + "Excerpt": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/infobae/expected-images.json b/test/test-pages/infobae/expected-images.json index 115df18..785f182 100644 --- a/test/test-pages/infobae/expected-images.json +++ b/test/test-pages/infobae/expected-images.json @@ -1 +1,7 @@ -["https:\/\/www.infobae.com\/new-resizer\/b_LU5bsrOM_BmZtNMzegvdNoPNE=\/600x0\/filters:quality(100)\/s3.amazonaws.com\/arc-wordpress-client-uploads\/infobae-wp\/wp-content\/uploads\/2017\/12\/01154429\/Rugbier-golpeado-1920.jpg","https:\/\/www.infobae.com\/new-resizer\/PUJQSwJZOtaetM7tXKqic4Ib1Wg=\/600x0\/filters:quality(100)\/s3.amazonaws.com\/arc-wordpress-client-uploads\/infobae-wp\/wp-content\/uploads\/2017\/12\/01161934\/Jonathan-Castellani-SF-2.jpg","https:\/\/www.infobae.com\/new-resizer\/yS5kphJxw_CBn1mycqbcrMjoNmQ=\/600x0\/filters:quality(100)\/s3.amazonaws.com\/arc-wordpress-client-uploads\/infobae-wp\/wp-content\/uploads\/2017\/12\/01163101\/JonathanGay2.jpg","https:\/\/www.infobae.com\/new-resizer\/cFidtpanVMHP25zNoWF78I4qjMA=\/600x0\/filters:quality(100)\/s3.amazonaws.com\/arc-wordpress-client-uploads\/infobae-wp\/wp-content\/uploads\/2017\/12\/01161927\/Jonathan-Castellani-1920.jpg"]
\ No newline at end of file +[ + "https:\/\/www.infobae.com\/new-resizer\/shi8E0F5ldd8a7vtvFaJomRURqU=\/1200x0\/filters:quality(100)\/s3.amazonaws.com\/arc-wordpress-client-uploads\/infobae-wp\/wp-content\/uploads\/2017\/12\/01154429\/Rugbier-golpeado-1920.jpg", + "https:\/\/www.infobae.com\/new-resizer\/b_LU5bsrOM_BmZtNMzegvdNoPNE=\/600x0\/filters:quality(100)\/s3.amazonaws.com\/arc-wordpress-client-uploads\/infobae-wp\/wp-content\/uploads\/2017\/12\/01154429\/Rugbier-golpeado-1920.jpg", + "https:\/\/www.infobae.com\/new-resizer\/PUJQSwJZOtaetM7tXKqic4Ib1Wg=\/600x0\/filters:quality(100)\/s3.amazonaws.com\/arc-wordpress-client-uploads\/infobae-wp\/wp-content\/uploads\/2017\/12\/01161934\/Jonathan-Castellani-SF-2.jpg", + "https:\/\/www.infobae.com\/new-resizer\/yS5kphJxw_CBn1mycqbcrMjoNmQ=\/600x0\/filters:quality(100)\/s3.amazonaws.com\/arc-wordpress-client-uploads\/infobae-wp\/wp-content\/uploads\/2017\/12\/01163101\/JonathanGay2.jpg", + "https:\/\/www.infobae.com\/new-resizer\/cFidtpanVMHP25zNoWF78I4qjMA=\/600x0\/filters:quality(100)\/s3.amazonaws.com\/arc-wordpress-client-uploads\/infobae-wp\/wp-content\/uploads\/2017\/12\/01161927\/Jonathan-Castellani-1920.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/infobae/expected-metadata.json b/test/test-pages/infobae/expected-metadata.json index e8b24b1..fb51b49 100644 --- a/test/test-pages/infobae/expected-metadata.json +++ b/test/test-pages/infobae/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Una patota de varones atacó a un rugbier gay: \"Te vamos a matar por puto\"", - "Author": "Por Mauricio Luna 1 de diciembre de 2017", - "Excerpt": "Jonathan Castellari fue salvajemente golpeado en un local de comidas rápidas, mientras esperaba el desayuno junto a un amigo. Podría perder un ojo" -} + "Title": "Una patota de varones atacó a un rugbier gay: \"Te vamos a matar por puto\"", + "Author": "Por Mauricio Luna 1 de diciembre de 2017", + "Excerpt": "Jonathan Castellari fue salvajemente golpeado en un local de comidas rápidas, mientras esperaba el desayuno junto a un amigo. Podría perder un ojo", + "Image": "https:\/\/www.infobae.com\/new-resizer\/shi8E0F5ldd8a7vtvFaJomRURqU=\/1200x0\/filters:quality(100)\/s3.amazonaws.com\/arc-wordpress-client-uploads\/infobae-wp\/wp-content\/uploads\/2017\/12\/01154429\/Rugbier-golpeado-1920.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/keep-images/expected-images.json b/test/test-pages/keep-images/expected-images.json index 0b902a4..d5b5aff 100644 --- a/test/test-pages/keep-images/expected-images.json +++ b/test/test-pages/keep-images/expected-images.json @@ -1 +1,17 @@ -{"0":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*sLDnS1UWEFIS33uLMxq3cw.jpeg","1":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*3vIhkoHIzcxvUdijoCVx6w.png","2":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*4gN1-fzOwCniw-DbqQjDeQ.jpeg","3":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*2KPmZkIBUrhps-2uwDvYFQ.jpeg","4":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*PU40bbbox2Ompc5I3RE99A.jpeg","5":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*ohyycinH18fz98TCyUzVgQ.png","6":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*mKvUNOAVQxl6atCbxbCZsg.jpeg","7":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*knT10_FNVUmqQIBLnutmzQ.jpeg","9":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*Vr61dyCTRwk6CemmVF8YAQ.jpeg","10":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*a-1_13xE6_ErQ-QSlz6myw.jpeg","12":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*IWXhtSsVv0gNnCwnDEXk-Q.jpeg","13":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*NGcrjfkV0l37iQH2uyYjEw.jpeg","14":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*WRlKt3q3mt7utmwxcbl3sQ.jpeg","15":"https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*320_4I0lxbn5x3bx4XPI5Q.png"}
\ No newline at end of file +{ + "0": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*sLDnS1UWEFIS33uLMxq3cw.jpeg", + "1": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*sLDnS1UWEFIS33uLMxq3cw.jpeg", + "2": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*3vIhkoHIzcxvUdijoCVx6w.png", + "3": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*4gN1-fzOwCniw-DbqQjDeQ.jpeg", + "4": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*2KPmZkIBUrhps-2uwDvYFQ.jpeg", + "5": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*PU40bbbox2Ompc5I3RE99A.jpeg", + "6": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*ohyycinH18fz98TCyUzVgQ.png", + "7": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*mKvUNOAVQxl6atCbxbCZsg.jpeg", + "8": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*knT10_FNVUmqQIBLnutmzQ.jpeg", + "10": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*Vr61dyCTRwk6CemmVF8YAQ.jpeg", + "11": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*a-1_13xE6_ErQ-QSlz6myw.jpeg", + "13": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*IWXhtSsVv0gNnCwnDEXk-Q.jpeg", + "14": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*NGcrjfkV0l37iQH2uyYjEw.jpeg", + "15": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/2000\/1*WRlKt3q3mt7utmwxcbl3sQ.jpeg", + "16": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*320_4I0lxbn5x3bx4XPI5Q.png" +}
\ No newline at end of file diff --git a/test/test-pages/keep-images/expected-metadata.json b/test/test-pages/keep-images/expected-metadata.json index 6c2c29a..04f0cf0 100644 --- a/test/test-pages/keep-images/expected-metadata.json +++ b/test/test-pages/keep-images/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Inside the Deep Web Drug Lab", - "Author": "Joseph Cox", - "Excerpt": "Welcome to DoctorX’s Barcelona lab, where the drugs you bought online are tested for safety and purity. No questions ask…" -} + "Title": "Inside the Deep Web Drug Lab", + "Author": "Joseph Cox", + "Excerpt": "Welcome to DoctorX’s Barcelona lab, where the drugs you bought online are tested for safety and purity. No questions ask…", + "Image": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*sLDnS1UWEFIS33uLMxq3cw.jpeg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/la-nacion/expected-images.json b/test/test-pages/la-nacion/expected-images.json index 25ef598..1ff254f 100644 --- a/test/test-pages/la-nacion/expected-images.json +++ b/test/test-pages/la-nacion/expected-images.json @@ -1 +1,4 @@ -["http:\/\/bucket2.glanacion.com\/anexos\/fotos\/77\/conflicto-mapuche-2585177w280.jpg"]
\ No newline at end of file +[ + "http:\/\/bucket.glanacion.com\/anexos\/fotos\/77\/2585177.jpg", + "http:\/\/bucket2.glanacion.com\/anexos\/fotos\/77\/conflicto-mapuche-2585177w280.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/la-nacion/expected-metadata.json b/test/test-pages/la-nacion/expected-metadata.json index ddba3d8..1fc7b51 100644 --- a/test/test-pages/la-nacion/expected-metadata.json +++ b/test/test-pages/la-nacion/expected-metadata.json @@ -1,4 +1,7 @@ { - "Title": "Una solución no violenta para la cuestión mapuche", - "Excerpt": "Los pueblos indígenas reclaman por derechos que permanecen incumplidos, por eso es más eficiente canalizar la protesta que reprimirla" -} + "Title": "Una solución no violenta para la cuestión mapuche", + "Excerpt": "Los pueblos indígenas reclaman por derechos que permanecen incumplidos, por eso es más eficiente canalizar la protesta que reprimirla", + "Image": "http:\/\/bucket.glanacion.com\/anexos\/fotos\/77\/2585177.jpg", + "Author": null, + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/lemonde-1/expected-images.json b/test/test-pages/lemonde-1/expected-images.json index 0637a08..35f271a 100644 --- a/test/test-pages/lemonde-1/expected-images.json +++ b/test/test-pages/lemonde-1/expected-images.json @@ -1 +1,3 @@ -[]
\ No newline at end of file +[ + "http:\/\/fakehost\/test\/image\/jpeg" +]
\ No newline at end of file diff --git a/test/test-pages/lemonde-1/expected-metadata.json b/test/test-pages/lemonde-1/expected-metadata.json index 3d8792a..23160f4 100644 --- a/test/test-pages/lemonde-1/expected-metadata.json +++ b/test/test-pages/lemonde-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Le projet de loi sur le renseignement massivement approuvé à l'Assemblée", - "Author": null, - "Excerpt": "Largement approuvé par les députés, le texte sera désormais examiné par le Sénat, puis le Conseil constitutionnel." -} + "Title": "Le projet de loi sur le renseignement massivement approuvé à l'Assemblée", + "Author": null, + "Excerpt": "Largement approuvé par les députés, le texte sera désormais examiné par le Sénat, puis le Conseil constitutionnel.", + "Image": "http:\/\/fakehost\/test\/image\/jpeg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/lemonde-2/expected-images.json b/test/test-pages/lemonde-2/expected-images.json index 0637a08..8492ce4 100644 --- a/test/test-pages/lemonde-2/expected-images.json +++ b/test/test-pages/lemonde-2/expected-images.json @@ -1 +1,3 @@ -[]
\ No newline at end of file +[ + "http:\/\/s1.lemde.fr\/medias\/web\/1.2.705\/img\/placeholder\/default.png" +]
\ No newline at end of file diff --git a/test/test-pages/lemonde-2/expected-metadata.json b/test/test-pages/lemonde-2/expected-metadata.json index f82607a..a2ce5b6 100644 --- a/test/test-pages/lemonde-2/expected-metadata.json +++ b/test/test-pages/lemonde-2/expected-metadata.json @@ -1 +1,7 @@ -{"Title":"La crise europ\u00e9enne est une crise de la dette, pas de l'euro","Author":null,"Excerpt":"Le retour \u00e0 la stabilit\u00e9 co\u00fbtera des milliards d'euros, mais l'Union europ\u00e9enne en vaut la peine, estime un collectif d'industriels."}
\ No newline at end of file +{ + "Title": "La crise européenne est une crise de la dette, pas de l'euro", + "Author": null, + "Excerpt": "Le retour à la stabilité coûtera des milliards d'euros, mais l'Union européenne en vaut la peine, estime un collectif d'industriels.", + "Image": "http:\/\/s1.lemde.fr\/medias\/web\/1.2.705\/img\/placeholder\/default.png", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/liberation-1/expected-images.json b/test/test-pages/liberation-1/expected-images.json index 0637a08..4b8e9a8 100644 --- a/test/test-pages/liberation-1/expected-images.json +++ b/test/test-pages/liberation-1/expected-images.json @@ -1 +1,3 @@ -[]
\ No newline at end of file +[ + "http:\/\/md1.libe.com\/photo\/755923-000_hkg10175905.jpg?modified_at=1430371146&width=750" +]
\ No newline at end of file diff --git a/test/test-pages/liberation-1/expected-metadata.json b/test/test-pages/liberation-1/expected-metadata.json index 7040bd8..e1577f4 100644 --- a/test/test-pages/liberation-1/expected-metadata.json +++ b/test/test-pages/liberation-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Un troisième Français mort dans le séisme au Népal", - "Author": "AFP", - "Excerpt": "Laurent Fabius a accueilli jeudi matin à Roissy un premier avion spécial ramenant des rescapés." -} + "Title": "Un troisième Français mort dans le séisme au Népal", + "Author": "AFP", + "Excerpt": "Laurent Fabius a accueilli jeudi matin à Roissy un premier avion spécial ramenant des rescapés.", + "Image": "http:\/\/md1.libe.com\/photo\/755923-000_hkg10175905.jpg?modified_at=1430371146&width=750", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/lifehacker-post-comment-load/expected-images.json b/test/test-pages/lifehacker-post-comment-load/expected-images.json index a8b6052..b46843d 100644 --- a/test/test-pages/lifehacker-post-comment-load/expected-images.json +++ b/test/test-pages/lifehacker-post-comment-load/expected-images.json @@ -1 +1,11 @@ -["http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--hqqO9fze--\/n1s6c2m6kc07iqdyllj6.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--QeUTCiuW--\/o4dpyrcbiqyfrc3bxx6p.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--mlR3Ku0_--\/xrhkwleyurcizy4akiae.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--Tacb0tyW--\/qodag11euf2npkawkn9v.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--x9hLbIKJ--\/imfc9ybqfw0jmztbhfrh.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--6NwBgQLy--\/afy7n45jfvsjdmmhonct.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--ciqk42G0--\/s3pq8vjrvyjgne4lfsod.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--mtob1sjR--\/y2ldv5eufb3jcrtfouye.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--4Ajak63w--\/atb9qm07fvvg7hqkumkw.jpg"]
\ No newline at end of file +{ + "0": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--hqqO9fze--\/n1s6c2m6kc07iqdyllj6.jpg", + "2": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--QeUTCiuW--\/o4dpyrcbiqyfrc3bxx6p.jpg", + "3": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--mlR3Ku0_--\/xrhkwleyurcizy4akiae.jpg", + "4": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--Tacb0tyW--\/qodag11euf2npkawkn9v.jpg", + "5": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--x9hLbIKJ--\/imfc9ybqfw0jmztbhfrh.jpg", + "6": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--6NwBgQLy--\/afy7n45jfvsjdmmhonct.jpg", + "7": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--ciqk42G0--\/s3pq8vjrvyjgne4lfsod.jpg", + "8": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--mtob1sjR--\/y2ldv5eufb3jcrtfouye.jpg", + "9": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--4Ajak63w--\/atb9qm07fvvg7hqkumkw.jpg" +}
\ No newline at end of file diff --git a/test/test-pages/lifehacker-post-comment-load/expected-metadata.json b/test/test-pages/lifehacker-post-comment-load/expected-metadata.json index 1c7f82b..c660b5e 100644 --- a/test/test-pages/lifehacker-post-comment-load/expected-metadata.json +++ b/test/test-pages/lifehacker-post-comment-load/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "How to Program Your Mind to Stop Buying Crap You Don’t Need", - "Author": "Patrick Allan", - "Excerpt": "We all buy things from time to time that we don't really need. It's okay to appeal to your wants every once in a while, as long as you're in control. If you struggle with clutter, impulse buys, and buyer's remorse, here's how to put your mind in the right place before you even set foot in a store." -} + "Title": "How to Program Your Mind to Stop Buying Crap You Don’t Need", + "Author": "Patrick Allan", + "Excerpt": "We all buy things from time to time that we don't really need. It's okay to appeal to your wants every once in a while, as long as you're in control. If you struggle with clutter, impulse buys, and buyer's remorse, here's how to put your mind in the right place before you even set foot in a store.", + "Image": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--hqqO9fze--\/n1s6c2m6kc07iqdyllj6.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/lifehacker-working/expected-images.json b/test/test-pages/lifehacker-working/expected-images.json index a8b6052..b46843d 100644 --- a/test/test-pages/lifehacker-working/expected-images.json +++ b/test/test-pages/lifehacker-working/expected-images.json @@ -1 +1,11 @@ -["http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--hqqO9fze--\/n1s6c2m6kc07iqdyllj6.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--QeUTCiuW--\/o4dpyrcbiqyfrc3bxx6p.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--mlR3Ku0_--\/xrhkwleyurcizy4akiae.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--Tacb0tyW--\/qodag11euf2npkawkn9v.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--x9hLbIKJ--\/imfc9ybqfw0jmztbhfrh.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--6NwBgQLy--\/afy7n45jfvsjdmmhonct.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--ciqk42G0--\/s3pq8vjrvyjgne4lfsod.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--mtob1sjR--\/y2ldv5eufb3jcrtfouye.jpg","http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--4Ajak63w--\/atb9qm07fvvg7hqkumkw.jpg"]
\ No newline at end of file +{ + "0": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--hqqO9fze--\/n1s6c2m6kc07iqdyllj6.jpg", + "2": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--QeUTCiuW--\/o4dpyrcbiqyfrc3bxx6p.jpg", + "3": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--mlR3Ku0_--\/xrhkwleyurcizy4akiae.jpg", + "4": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--Tacb0tyW--\/qodag11euf2npkawkn9v.jpg", + "5": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--x9hLbIKJ--\/imfc9ybqfw0jmztbhfrh.jpg", + "6": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--6NwBgQLy--\/afy7n45jfvsjdmmhonct.jpg", + "7": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--ciqk42G0--\/s3pq8vjrvyjgne4lfsod.jpg", + "8": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--mtob1sjR--\/y2ldv5eufb3jcrtfouye.jpg", + "9": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--4Ajak63w--\/atb9qm07fvvg7hqkumkw.jpg" +}
\ No newline at end of file diff --git a/test/test-pages/lifehacker-working/expected-metadata.json b/test/test-pages/lifehacker-working/expected-metadata.json index 1c7f82b..c660b5e 100644 --- a/test/test-pages/lifehacker-working/expected-metadata.json +++ b/test/test-pages/lifehacker-working/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "How to Program Your Mind to Stop Buying Crap You Don’t Need", - "Author": "Patrick Allan", - "Excerpt": "We all buy things from time to time that we don't really need. It's okay to appeal to your wants every once in a while, as long as you're in control. If you struggle with clutter, impulse buys, and buyer's remorse, here's how to put your mind in the right place before you even set foot in a store." -} + "Title": "How to Program Your Mind to Stop Buying Crap You Don’t Need", + "Author": "Patrick Allan", + "Excerpt": "We all buy things from time to time that we don't really need. It's okay to appeal to your wants every once in a while, as long as you're in control. If you struggle with clutter, impulse buys, and buyer's remorse, here's how to put your mind in the right place before you even set foot in a store.", + "Image": "http:\/\/i.kinja-img.com\/gawker-media\/image\/upload\/s--hqqO9fze--\/n1s6c2m6kc07iqdyllj6.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/links-in-tables/expected-images.json b/test/test-pages/links-in-tables/expected-images.json index 04d70fb..c4caaa1 100644 --- a/test/test-pages/links-in-tables/expected-images.json +++ b/test/test-pages/links-in-tables/expected-images.json @@ -1 +1,5 @@ -{"0":"https:\/\/2.bp.blogspot.com\/-chCZZinlUTg\/WEcxvJo9gdI\/AAAAAAAADnk\/3ND_BspqN6Y2j5xxkLFW3RyS2Ig0NHZpQCLcB\/s640\/ipsum-opsum.gif","2":"https:\/\/2.bp.blogspot.com\/-5aRh1dM6Unc\/WEcNs55RGhI\/AAAAAAAADnI\/tzr_oOJjZwgWd9Vu25ydY0UwB3eXKupXwCLcB\/s200\/image01.png"}
\ No newline at end of file +[ + "https:\/\/2.bp.blogspot.com\/-chCZZinlUTg\/WEcxvJo9gdI\/AAAAAAAADnk\/3ND_BspqN6Y2j5xxkLFW3RyS2Ig0NHZpQCLcB\/w1200-h630-p-k-nu\/ipsum-opsum.gif", + "https:\/\/2.bp.blogspot.com\/-chCZZinlUTg\/WEcxvJo9gdI\/AAAAAAAADnk\/3ND_BspqN6Y2j5xxkLFW3RyS2Ig0NHZpQCLcB\/s640\/ipsum-opsum.gif", + "https:\/\/2.bp.blogspot.com\/-5aRh1dM6Unc\/WEcNs55RGhI\/AAAAAAAADnI\/tzr_oOJjZwgWd9Vu25ydY0UwB3eXKupXwCLcB\/s200\/image01.png" +]
\ No newline at end of file diff --git a/test/test-pages/links-in-tables/expected-metadata.json b/test/test-pages/links-in-tables/expected-metadata.json index 6ff5704..f833e26 100644 --- a/test/test-pages/links-in-tables/expected-metadata.json +++ b/test/test-pages/links-in-tables/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Saving Data: Reducing the size of App Updates by 65%", - "Author": null, - "Excerpt": "Posted by Andrew Hayden, Software Engineer on Google Play Android users are downloading tens of billions of apps and games on Google Pla..." -} + "Title": "Saving Data: Reducing the size of App Updates by 65%", + "Author": null, + "Excerpt": "Posted by Andrew Hayden, Software Engineer on Google Play Android users are downloading tens of billions of apps and games on Google Pla...", + "Image": "https:\/\/2.bp.blogspot.com\/-chCZZinlUTg\/WEcxvJo9gdI\/AAAAAAAADnk\/3ND_BspqN6Y2j5xxkLFW3RyS2Ig0NHZpQCLcB\/w1200-h630-p-k-nu\/ipsum-opsum.gif", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/lwn-1/expected-images.json b/test/test-pages/lwn-1/expected-images.json index 330da82..3f6b610 100644 --- a/test/test-pages/lwn-1/expected-images.json +++ b/test/test-pages/lwn-1/expected-images.json @@ -1 +1,6 @@ -["http:\/\/fakehost\/images\/2015\/03-qgis-map-sm.png","http:\/\/fakehost\/images\/2015\/03-qgis-query-sm.png","http:\/\/fakehost\/images\/2015\/03-qgis-simplify-sm.png","http:\/\/fakehost\/images\/2015\/03-qgis-style-sm.png"]
\ No newline at end of file +[ + "http:\/\/fakehost\/images\/2015\/03-qgis-map-sm.png", + "http:\/\/fakehost\/images\/2015\/03-qgis-query-sm.png", + "http:\/\/fakehost\/images\/2015\/03-qgis-simplify-sm.png", + "http:\/\/fakehost\/images\/2015\/03-qgis-style-sm.png" +]
\ No newline at end of file diff --git a/test/test-pages/lwn-1/expected-metadata.json b/test/test-pages/lwn-1/expected-metadata.json index 7a7ca1c..15778b2 100644 --- a/test/test-pages/lwn-1/expected-metadata.json +++ b/test/test-pages/lwn-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "LWN.net Weekly Edition for March 26, 2015 [LWN.net]", - "Author": "By Nathan Willis\n March 25, 2015", - "Excerpt": "The Arduino has been one of the biggest success stories of the open-hardware movement, but that success does not protect it from internal conflict. In recent months, two of the project's founders have come into conflict about the direction of future efforts—and that conflict has turned into a legal dispute about who owns the rights to the Arduino trademark." -} + "Title": "LWN.net Weekly Edition for March 26, 2015 [LWN.net]", + "Author": "By Nathan Willis\n March 25, 2015", + "Excerpt": "The Arduino has been one of the biggest success stories of the open-hardware movement, but that success does not protect it from internal conflict. In recent months, two of the project's founders have come into conflict about the direction of future efforts—and that conflict has turned into a legal dispute about who owns the rights to the Arduino trademark.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/medium-1/expected-images.json b/test/test-pages/medium-1/expected-images.json index 2aaba2e..9a24220 100644 --- a/test/test-pages/medium-1/expected-images.json +++ b/test/test-pages/medium-1/expected-images.json @@ -1 +1,10 @@ -["https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*AzYWbe4cZkMMEUbfRjysLQ.png","https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*d0Hp6KlzyIcGHcL6to1sYQ.png","https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*_9KYIFrk_PqWFgptsMDeww.png","https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*Vh2MpQjqjPkzYJaaWExoVg.png","https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*2Ln_DmC95Xpz6LzgywkcFQ.png","https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*bXaR_NBJdoHpRc8lUWSsow.png","https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*lulfisQxgSQ209vPHMAifg.png"]
\ No newline at end of file +[ + "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*oBWUXtszDsiv_-Qq2bFLTQ.png", + "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*AzYWbe4cZkMMEUbfRjysLQ.png", + "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*d0Hp6KlzyIcGHcL6to1sYQ.png", + "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*_9KYIFrk_PqWFgptsMDeww.png", + "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*Vh2MpQjqjPkzYJaaWExoVg.png", + "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*2Ln_DmC95Xpz6LzgywkcFQ.png", + "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*bXaR_NBJdoHpRc8lUWSsow.png", + "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*lulfisQxgSQ209vPHMAifg.png" +]
\ No newline at end of file diff --git a/test/test-pages/medium-1/expected-metadata.json b/test/test-pages/medium-1/expected-metadata.json index e3e098c..85803a7 100644 --- a/test/test-pages/medium-1/expected-metadata.json +++ b/test/test-pages/medium-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "The Open Journalism Project: Better Student Journalism", - "Author": "Pippin Lee", - "Excerpt": "We pushed out the first version of the Open Journalism site in January. Here’s what we’ve learned about student journali…" -} + "Title": "The Open Journalism Project: Better Student Journalism", + "Author": "Pippin Lee", + "Excerpt": "We pushed out the first version of the Open Journalism site in January. Here’s what we’ve learned about student journali…", + "Image": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/800\/1*oBWUXtszDsiv_-Qq2bFLTQ.png", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/medium-2/expected-images.json b/test/test-pages/medium-2/expected-images.json index ece26bc..e52ea6f 100644 --- a/test/test-pages/medium-2/expected-images.json +++ b/test/test-pages/medium-2/expected-images.json @@ -1 +1,3 @@ -["https:\/\/d262ilb51hltx0.cloudfront.net\/max\/1600\/1*eR_J8DurqygbhrwDg-WPnQ.png"]
\ No newline at end of file +[ + "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/1600\/1*eR_J8DurqygbhrwDg-WPnQ.png" +]
\ No newline at end of file diff --git a/test/test-pages/medium-2/expected-metadata.json b/test/test-pages/medium-2/expected-metadata.json index 395fb03..1e7aa99 100644 --- a/test/test-pages/medium-2/expected-metadata.json +++ b/test/test-pages/medium-2/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "On Behalf of “Literally”", - "Author": "Courtney Kirchoff", - "Excerpt": "In defense of the word “literally” and why you or someone you know should stop misusing the word, lest they drive us fig…" -} + "Title": "On Behalf of “Literally”", + "Author": "Courtney Kirchoff", + "Excerpt": "In defense of the word “literally” and why you or someone you know should stop misusing the word, lest they drive us fig…", + "Image": "https:\/\/d262ilb51hltx0.cloudfront.net\/max\/1600\/1*eR_J8DurqygbhrwDg-WPnQ.png", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/medium-3/expected-images.json b/test/test-pages/medium-3/expected-images.json index 0637a08..54ac866 100644 --- a/test/test-pages/medium-3/expected-images.json +++ b/test/test-pages/medium-3/expected-images.json @@ -1 +1,3 @@ -[]
\ No newline at end of file +[ + "https:\/\/cdn-images-1.medium.com\/max\/1200\/1*kbPh7V97eyRodSOw2-ALDw.png" +]
\ No newline at end of file diff --git a/test/test-pages/medium-3/expected-metadata.json b/test/test-pages/medium-3/expected-metadata.json index b2e66b9..c35c9d7 100644 --- a/test/test-pages/medium-3/expected-metadata.json +++ b/test/test-pages/medium-3/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "Samantha and The Great Big Lie", - "Author": "John C. Welch", - "Direction": null, - "Excerpt": "How to get shanked doing what people say they want" -} + "Title": "Samantha and The Great Big Lie", + "Author": "John C. Welch", + "Direction": null, + "Excerpt": "How to get shanked doing what people say they want", + "Image": "https:\/\/cdn-images-1.medium.com\/max\/1200\/1*kbPh7V97eyRodSOw2-ALDw.png" +}
\ No newline at end of file diff --git a/test/test-pages/missing-paragraphs/expected-metadata.json b/test/test-pages/missing-paragraphs/expected-metadata.json index ecd9fbc..7014daa 100644 --- a/test/test-pages/missing-paragraphs/expected-metadata.json +++ b/test/test-pages/missing-paragraphs/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy\n eirmod tempor invidunt", - "Author": "Henri Sivonen", - "Excerpt": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy\n eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam\n voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet\n clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit\n amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam\n nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,\n sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.\n Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor\n sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed\n diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,\n sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.\n Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor\n sit amet." -} + "Title": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy\n eirmod tempor invidunt", + "Author": "Henri Sivonen", + "Excerpt": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy\n eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam\n voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet\n clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit\n amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam\n nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,\n sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.\n Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor\n sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed\n diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,\n sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.\n Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor\n sit amet.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/mozilla-1/expected-images.json b/test/test-pages/mozilla-1/expected-images.json index d9a80d0..8ee13b8 100644 --- a/test/test-pages/mozilla-1/expected-images.json +++ b/test/test-pages/mozilla-1/expected-images.json @@ -1 +1,9 @@ -["http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/desktop\/customize\/animations\/flexible-top-fallback.c960365ba781.png","http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/desktop\/customize\/designed-redesigned.fbd3ee9402e6.png","http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/desktop\/customize\/animations\/flexible-bottom-fallback.cafd48a3d0a4.png","http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/desktop\/customize\/theme-red.61611c5734ab.png","http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/desktop\/customize\/add-ons.63a4b761f822.png","http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/desktop\/customize\/awesome-bar.437df162126c.png"]
\ No newline at end of file +[ + "https:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/template\/page-image.af8027a425de.png", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/desktop\/customize\/animations\/flexible-top-fallback.c960365ba781.png", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/desktop\/customize\/designed-redesigned.fbd3ee9402e6.png", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/desktop\/customize\/animations\/flexible-bottom-fallback.cafd48a3d0a4.png", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/desktop\/customize\/theme-red.61611c5734ab.png", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/desktop\/customize\/add-ons.63a4b761f822.png", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/desktop\/customize\/awesome-bar.437df162126c.png" +]
\ No newline at end of file diff --git a/test/test-pages/mozilla-1/expected-metadata.json b/test/test-pages/mozilla-1/expected-metadata.json index 3a93f8f..4ffdf79 100644 --- a/test/test-pages/mozilla-1/expected-metadata.json +++ b/test/test-pages/mozilla-1/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "Firefox — Customize and make it your own — The most flexible browser on the Web", - "Author": null, - "Direction": "ltr", - "Excerpt": "It’s easier than ever to personalize Firefox and make it work the way\n you do.\n No other browser gives you so much choice and flexibility." -} + "Title": "Firefox — Customize and make it your own — The most flexible browser on the Web", + "Author": null, + "Direction": "ltr", + "Excerpt": "It’s easier than ever to personalize Firefox and make it work the way\n you do.\n No other browser gives you so much choice and flexibility.", + "Image": "https:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/template\/page-image.af8027a425de.png" +}
\ No newline at end of file diff --git a/test/test-pages/mozilla-2/expected-images.json b/test/test-pages/mozilla-2/expected-images.json index 7322a3a..365d4c2 100644 --- a/test/test-pages/mozilla-2/expected-images.json +++ b/test/test-pages/mozilla-2/expected-images.json @@ -1 +1,11 @@ -["http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-webide.16763db341cb.jpg","http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-valence.251f9def4d8d.jpg","http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-inspector.c791bf1f1a59.jpg","http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-console.42666aaf6d03.jpg","http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-debugger.02ed86fb0c9f.jpg","http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-network.740d6082b3f6.jpg","http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-webaudio.a10ebc48d017.jpg","http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-style-editor.87c5d2017506.jpg"]
\ No newline at end of file +[ + "https:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/developer\/page-image.03bbe7da3199.png", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-webide.16763db341cb.jpg", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-valence.251f9def4d8d.jpg", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-inspector.c791bf1f1a59.jpg", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-console.42666aaf6d03.jpg", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-debugger.02ed86fb0c9f.jpg", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-network.740d6082b3f6.jpg", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-webaudio.a10ebc48d017.jpg", + "http:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/firstrun\/dev\/feature-style-editor.87c5d2017506.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/mozilla-2/expected-metadata.json b/test/test-pages/mozilla-2/expected-metadata.json index de229d8..0b84253 100644 --- a/test/test-pages/mozilla-2/expected-metadata.json +++ b/test/test-pages/mozilla-2/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "Welcome to Firefox Developer Edition", - "Author": null, - "Direction": "ltr", - "Excerpt": "Built for those who build the Web. Introducing the only browser made for developers." -} + "Title": "Welcome to Firefox Developer Edition", + "Author": null, + "Direction": "ltr", + "Excerpt": "Built for those who build the Web. Introducing the only browser made for developers.", + "Image": "https:\/\/mozorg.cdn.mozilla.net\/media\/img\/firefox\/developer\/page-image.03bbe7da3199.png" +}
\ No newline at end of file diff --git a/test/test-pages/msn/expected-images.json b/test/test-pages/msn/expected-images.json index 18168e9..176afee 100644 --- a/test/test-pages/msn/expected-images.json +++ b/test/test-pages/msn/expected-images.json @@ -1 +1,4 @@ -["http:\/\/img-s-msn-com.akamaized.net\/tenant\/amp\/entityid\/AAkk5fh.img?h=820&w=1456&m=6&q=60&o=f&l=f&x=1162&y=540"]
\ No newline at end of file +[ + "http:\/\/img-s-msn-com.akamaized.net\/tenant\/amp\/entityid\/AAkk5fh.img", + "http:\/\/img-s-msn-com.akamaized.net\/tenant\/amp\/entityid\/AAkk5fh.img?h=820&w=1456&m=6&q=60&o=f&l=f&x=1162&y=540" +]
\ No newline at end of file diff --git a/test/test-pages/msn/expected-metadata.json b/test/test-pages/msn/expected-metadata.json index 4916e95..5eade78 100644 --- a/test/test-pages/msn/expected-metadata.json +++ b/test/test-pages/msn/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Nintendo's first iPhone game will launch in December for $10", - "Author": "Alex Perry\n \n 1 day ago", - "Excerpt": "Nintendo and Apple shocked the world earlier this year by announcing \"Super Mario Run,\" the legendary gaming company's first foray into mobile gaming. " -} + "Title": "Nintendo's first iPhone game will launch in December for $10", + "Author": "Alex Perry\n \n 1 day ago", + "Excerpt": "Nintendo and Apple shocked the world earlier this year by announcing \"Super Mario Run,\" the legendary gaming company's first foray into mobile gaming. ", + "Image": "http:\/\/img-s-msn-com.akamaized.net\/tenant\/amp\/entityid\/AAkk5fh.img", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/nytimes-1/expected-images.json b/test/test-pages/nytimes-1/expected-images.json index 342fd8a..077eb60 100644 --- a/test/test-pages/nytimes-1/expected-images.json +++ b/test/test-pages/nytimes-1/expected-images.json @@ -1 +1,4 @@ -["https:\/\/static01.nyt.com\/images\/2017\/01\/14\/world\/13SUDAN-1\/13SUDAN-1-master768.jpg"]
\ No newline at end of file +[ + "https:\/\/static01.nyt.com\/images\/2017\/01\/14\/world\/13SUDAN-1\/13SUDAN-1-facebookJumbo.jpg", + "https:\/\/static01.nyt.com\/images\/2017\/01\/14\/world\/13SUDAN-1\/13SUDAN-1-master768.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/nytimes-1/expected-metadata.json b/test/test-pages/nytimes-1/expected-metadata.json index c8b12aa..098429d 100644 --- a/test/test-pages/nytimes-1/expected-metadata.json +++ b/test/test-pages/nytimes-1/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "United States to Lift Sudan Sanctions", - "Author": "Jeffrey Gettleman", - "Direction": null, - "Excerpt": "For the first time since the 1990s, the country will be able to trade extensively with the United States." -} + "Title": "United States to Lift Sudan Sanctions", + "Author": "Jeffrey Gettleman", + "Direction": null, + "Excerpt": "For the first time since the 1990s, the country will be able to trade extensively with the United States.", + "Image": "https:\/\/static01.nyt.com\/images\/2017\/01\/14\/world\/13SUDAN-1\/13SUDAN-1-facebookJumbo.jpg" +}
\ No newline at end of file diff --git a/test/test-pages/nytimes-2/expected-images.json b/test/test-pages/nytimes-2/expected-images.json index 7966a50..1afbadf 100644 --- a/test/test-pages/nytimes-2/expected-images.json +++ b/test/test-pages/nytimes-2/expected-images.json @@ -1 +1,4 @@ -["https:\/\/static01.nyt.com\/images\/2016\/07\/30\/business\/db-dealprof\/db-dealprof-master315.jpg"]
\ No newline at end of file +[ + "https:\/\/static01.nyt.com\/images\/2016\/07\/30\/business\/db-dealprof\/db-dealprof-facebookJumbo.jpg", + "https:\/\/static01.nyt.com\/images\/2016\/07\/30\/business\/db-dealprof\/db-dealprof-master315.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/nytimes-2/expected-metadata.json b/test/test-pages/nytimes-2/expected-metadata.json index d8c62b1..3254c74 100644 --- a/test/test-pages/nytimes-2/expected-metadata.json +++ b/test/test-pages/nytimes-2/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "Yahoo’s Sale to Verizon Leaves Shareholders With Little Say", - "Author": "Steven Davidoff Solomon", - "Direction": null, - "Excerpt": "The internet giant’s decision to sell its business is plagued with challenges that reveal how unusual deal structures can affect shareholders." -} + "Title": "Yahoo’s Sale to Verizon Leaves Shareholders With Little Say", + "Author": "Steven Davidoff Solomon", + "Direction": null, + "Excerpt": "The internet giant’s decision to sell its business is plagued with challenges that reveal how unusual deal structures can affect shareholders.", + "Image": "https:\/\/static01.nyt.com\/images\/2016\/07\/30\/business\/db-dealprof\/db-dealprof-facebookJumbo.jpg" +}
\ No newline at end of file diff --git a/test/test-pages/pixnet/expected-images.json b/test/test-pages/pixnet/expected-images.json index f79702e..d36dede 100644 --- a/test/test-pages/pixnet/expected-images.json +++ b/test/test-pages/pixnet/expected-images.json @@ -1 +1,48 @@ -{"0":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894842-1217674167.jpg","2":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894971-1486345289.jpg","3":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894979-1252095111.jpg","4":"http:\/\/pic.pimg.tw\/stevenhgm\/1387971416-4261675924.jpg","5":"http:\/\/pic.pimg.tw\/stevenhgm\/1387971406-2480195851.jpg","6":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894752-3567294980.jpg","7":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894771-2897027724.jpg","8":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894778-2035483089.jpg","9":"http:\/\/pic.pimg.tw\/stevenhgm\/1387897405-3236217457.jpg","10":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894848-3695967443.jpg","11":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894863-3269042540.jpg","12":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894868-3997219746.jpg","13":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894873-1524806724.jpg","14":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894788-105924953.jpg","15":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894798-1063855065.jpg","16":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894807-309560703.jpg","17":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894882-1881930036.jpg","18":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894887-407829597.jpg","19":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894857-470378275.jpg","20":"http:\/\/pic.pimg.tw\/stevenhgm\/1387895099-4119123008.jpg","21":"http:\/\/pic.pimg.tw\/stevenhgm\/1387971426-4277312474.jpg","22":"http:\/\/pic.pimg.tw\/stevenhgm\/1387971436-2828193592.jpg","23":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894823-4061326865.jpg","24":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894911-3706194096.jpg","25":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894894-1173705525.jpg","26":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894901-1058040075.jpg","27":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894925-1582979930.jpg","28":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894989-1689510758.jpg","29":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894933-2886337976.jpg","30":"http:\/\/pic.pimg.tw\/stevenhgm\/1387895113-4041265313.jpg","31":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894940-3359449338.jpg","32":"http:\/\/pic.pimg.tw\/stevenhgm\/1387895106-1387217970.jpg","33":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894947-2636431527.jpg","34":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894956-618198074.jpg","35":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894961-2201609427.jpg","36":"http:\/\/pic.pimg.tw\/stevenhgm\/1387971396-2999285851.jpg","37":"http:\/\/pic.pimg.tw\/stevenhgm\/1387894999-1588465034.jpg","38":"http:\/\/pic.pimg.tw\/stevenhgm\/1387895007-4184988815.jpg","39":"http:\/\/pic.pimg.tw\/stevenhgm\/1387895016-2193615729.jpg","40":"http:\/\/pic.pimg.tw\/stevenhgm\/1387895047-92554161.jpg","41":"http:\/\/pic.pimg.tw\/stevenhgm\/1387971446-966387512.jpg","42":"http:\/\/pic.pimg.tw\/stevenhgm\/1387895036-848978834.jpg","43":"http:\/\/pic.pimg.tw\/stevenhgm\/1387895067-717977929.jpg","44":"http:\/\/pic.pimg.tw\/stevenhgm\/1387895083-1227791497.jpg","45":"http:\/\/pic.pimg.tw\/stevenhgm\/1387895075-2647157523.jpg","46":"http:\/\/pic.pimg.tw\/stevenhgm\/1387895093-631461272.jpg"}
\ No newline at end of file +[ + "http:\/\/pic.pimg.tw\/stevenhgm\/1387895093-631461272.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894842-1217674167.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894971-1486345289.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894979-1252095111.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387971416-4261675924.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387971406-2480195851.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894752-3567294980.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894771-2897027724.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894778-2035483089.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387897405-3236217457.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894848-3695967443.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894863-3269042540.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894868-3997219746.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894873-1524806724.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894788-105924953.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894798-1063855065.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894807-309560703.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894882-1881930036.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894887-407829597.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894857-470378275.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387895099-4119123008.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387971426-4277312474.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387971436-2828193592.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894823-4061326865.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894911-3706194096.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894894-1173705525.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894901-1058040075.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894925-1582979930.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894989-1689510758.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894933-2886337976.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387895113-4041265313.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894940-3359449338.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387895106-1387217970.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894947-2636431527.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894956-618198074.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894961-2201609427.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387971396-2999285851.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387894999-1588465034.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387895007-4184988815.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387895016-2193615729.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387895047-92554161.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387971446-966387512.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387895036-848978834.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387895067-717977929.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387895083-1227791497.jpg", + "http:\/\/pic.pimg.tw\/stevenhgm\/1387895075-2647157523.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/pixnet/expected-metadata.json b/test/test-pages/pixnet/expected-metadata.json index 97554c7..ffdd41d 100644 --- a/test/test-pages/pixnet/expected-metadata.json +++ b/test/test-pages/pixnet/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "新竹尖石_美樹營地賞楓 (2) @ 史蒂文的家_藍天 :: 痞客邦 PIXNET ::", - "Author": "史蒂文的家_藍天 (stevenhgm)", - "Direction": null, - "Excerpt": "一波波接續性低溫寒流報到 已將新竹尖石鄉後山一帶層層山巒披上嫣紅的彩衣 玉峰道路一路上雲氣山嵐滯留山頭 順路下切蜿蜒道路後不久即抵達來到"玉峰國小" "美樹"美" -} + "Title": "新竹尖石_美樹營地賞楓 (2) @ 史蒂文的家_藍天 :: 痞客邦 PIXNET ::", + "Author": "史蒂文的家_藍天 (stevenhgm)", + "Direction": null, + "Excerpt": "一波波接續性低溫寒流報到 已將新竹尖石鄉後山一帶層層山巒披上嫣紅的彩衣 玉峰道路一路上雲氣山嵐滯留山頭 順路下切蜿蜒道路後不久即抵達來到"玉峰國小" "美樹"美", + "Image": "http:\/\/pic.pimg.tw\/stevenhgm\/1387895093-631461272.jpg" +}
\ No newline at end of file diff --git a/test/test-pages/remove-extra-brs/expected-metadata.json b/test/test-pages/remove-extra-brs/expected-metadata.json index 152d972..a6286b4 100644 --- a/test/test-pages/remove-extra-brs/expected-metadata.json +++ b/test/test-pages/remove-extra-brs/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Remove trailing brs test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua." -} + "Title": "Remove trailing brs test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/remove-extra-paragraphs/expected-metadata.json b/test/test-pages/remove-extra-paragraphs/expected-metadata.json index 4a21b9b..fe63d26 100644 --- a/test/test-pages/remove-extra-paragraphs/expected-metadata.json +++ b/test/test-pages/remove-extra-paragraphs/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Replace font tags test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua." -} + "Title": "Replace font tags test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/remove-script-tags/expected-metadata.json b/test/test-pages/remove-script-tags/expected-metadata.json index 96ec024..7e430dd 100644 --- a/test/test-pages/remove-script-tags/expected-metadata.json +++ b/test/test-pages/remove-script-tags/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Remove script tags test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua." -} + "Title": "Remove script tags test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/reordering-paragraphs/expected-metadata.json b/test/test-pages/reordering-paragraphs/expected-metadata.json index cae2da5..c9764b9 100644 --- a/test/test-pages/reordering-paragraphs/expected-metadata.json +++ b/test/test-pages/reordering-paragraphs/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "", - "Author": null, - "Excerpt": "Regarding item# 11111, under sufficiently extreme conditions, quarks may\n become deconfined and exist as free particles. In the course of asymptotic\n freedom, the strong interaction becomes weaker at higher temperatures.\n Eventually, color confinement would be lost and an extremely hot plasma\n of freely moving quarks and gluons would be formed. This theoretical phase\n of matter is called quark-gluon plasma.[81] The exact conditions needed\n to give rise to this state are unknown and have been the subject of a great\n deal of speculation and experimentation." -} + "Title": null, + "Author": null, + "Excerpt": "Regarding item# 11111, under sufficiently extreme conditions, quarks may\n become deconfined and exist as free particles. In the course of asymptotic\n freedom, the strong interaction becomes weaker at higher temperatures.\n Eventually, color confinement would be lost and an extremely hot plasma\n of freely moving quarks and gluons would be formed. This theoretical phase\n of matter is called quark-gluon plasma.[81] The exact conditions needed\n to give rise to this state are unknown and have been the subject of a great\n deal of speculation and experimentation.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/replace-brs/expected-metadata.json b/test/test-pages/replace-brs/expected-metadata.json index c73456d..e9adc90 100644 --- a/test/test-pages/replace-brs/expected-metadata.json +++ b/test/test-pages/replace-brs/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Replace brs test", - "Author": null, - "Excerpt": "Lorem ipsumdolor sit" -} + "Title": "Replace brs test", + "Author": null, + "Excerpt": "Lorem ipsumdolor sit", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/replace-font-tags/expected-metadata.json b/test/test-pages/replace-font-tags/expected-metadata.json index c669818..31289ff 100644 --- a/test/test-pages/replace-font-tags/expected-metadata.json +++ b/test/test-pages/replace-font-tags/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Replace font tags test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum." -} + "Title": "Replace font tags test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/rtl-1/expected-metadata.json b/test/test-pages/rtl-1/expected-metadata.json index 3c14748..afead27 100644 --- a/test/test-pages/rtl-1/expected-metadata.json +++ b/test/test-pages/rtl-1/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "RTL Test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet.", - "Direction": "rtl" -} + "Title": "RTL Test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet.", + "Direction": "rtl", + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/rtl-2/expected-metadata.json b/test/test-pages/rtl-2/expected-metadata.json index 3c14748..afead27 100644 --- a/test/test-pages/rtl-2/expected-metadata.json +++ b/test/test-pages/rtl-2/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "RTL Test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet.", - "Direction": "rtl" -} + "Title": "RTL Test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet.", + "Direction": "rtl", + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/rtl-3/expected-metadata.json b/test/test-pages/rtl-3/expected-metadata.json index 3c14748..afead27 100644 --- a/test/test-pages/rtl-3/expected-metadata.json +++ b/test/test-pages/rtl-3/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "RTL Test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet.", - "Direction": "rtl" -} + "Title": "RTL Test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet.", + "Direction": "rtl", + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/rtl-4/expected-metadata.json b/test/test-pages/rtl-4/expected-metadata.json index ee2b37a..c102518 100644 --- a/test/test-pages/rtl-4/expected-metadata.json +++ b/test/test-pages/rtl-4/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "RTL Test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet.", - "Direction": null -} + "Title": "RTL Test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/salon-1/expected-images.json b/test/test-pages/salon-1/expected-images.json index 0637a08..f2c796a 100644 --- a/test/test-pages/salon-1/expected-images.json +++ b/test/test-pages/salon-1/expected-images.json @@ -1 +1,3 @@ -[]
\ No newline at end of file +[ + "http:\/\/media.salon.com\/2014\/12\/uber_rand_paul.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/salon-1/expected-metadata.json b/test/test-pages/salon-1/expected-metadata.json index 71fc109..502d35f 100644 --- a/test/test-pages/salon-1/expected-metadata.json +++ b/test/test-pages/salon-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "The sharing economy is a lie: Uber, Ayn Rand and the truth about tech and libertarians", - "Author": "Joanna Rothkopf", - "Excerpt": "Disruptive companies talk a good game about sharing. Uber's really just an under-regulated company making riches" -} + "Title": "The sharing economy is a lie: Uber, Ayn Rand and the truth about tech and libertarians", + "Author": "Joanna Rothkopf", + "Excerpt": "Disruptive companies talk a good game about sharing. Uber's really just an under-regulated company making riches", + "Image": "http:\/\/media.salon.com\/2014\/12\/uber_rand_paul.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/simplyfound-1/expected-images.json b/test/test-pages/simplyfound-1/expected-images.json index 0637a08..469dde5 100644 --- a/test/test-pages/simplyfound-1/expected-images.json +++ b/test/test-pages/simplyfound-1/expected-images.json @@ -1 +1,3 @@ -[]
\ No newline at end of file +[ + "https:\/\/d34hb2g9mvfppu.cloudfront.net\/m\/images\/cache\/images\/2016\/02\/29\/apcnews2012raspberry_pi_logo_mainimage8_jpg8_322_27630a8388eb_lg.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/simplyfound-1/expected-metadata.json b/test/test-pages/simplyfound-1/expected-metadata.json index 3772bbd..17aa266 100644 --- a/test/test-pages/simplyfound-1/expected-metadata.json +++ b/test/test-pages/simplyfound-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Raspberry Pi 3 - The credit card sized PC that cost only $35 - All-time bestselling computer in UK", - "Author": null, - "Excerpt": "The Raspberry Pi Foundation started by a handful of volunteers in 2012 when they released the original Raspberry Pi 256MB Model B without knowing what to expect. In a short four-year period they have grown to over sixty full-time employees and ha..." -} + "Title": "Raspberry Pi 3 - The credit card sized PC that cost only $35 - All-time bestselling computer in UK", + "Author": null, + "Excerpt": "The Raspberry Pi Foundation started by a handful of volunteers in 2012 when they released the original Raspberry Pi 256MB Model B without knowing what to expect. In a short four-year period they have grown to over sixty full-time employees and ha...", + "Image": "https:\/\/d34hb2g9mvfppu.cloudfront.net\/m\/images\/cache\/images\/2016\/02\/29\/apcnews2012raspberry_pi_logo_mainimage8_jpg8_322_27630a8388eb_lg.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/social-buttons/expected-metadata.json b/test/test-pages/social-buttons/expected-metadata.json index 50d7ac6..d7c828f 100644 --- a/test/test-pages/social-buttons/expected-metadata.json +++ b/test/test-pages/social-buttons/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Share buttons removal test", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum." -} + "Title": "Share buttons removal test", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/style-tags-removal/expected-metadata.json b/test/test-pages/style-tags-removal/expected-metadata.json index e30a764..dc267d4 100644 --- a/test/test-pages/style-tags-removal/expected-metadata.json +++ b/test/test-pages/style-tags-removal/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Style tags removal", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum." -} + "Title": "Style tags removal", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/svg-parsing/expected-metadata.json b/test/test-pages/svg-parsing/expected-metadata.json index 2192d3b..e983b2f 100644 --- a/test/test-pages/svg-parsing/expected-metadata.json +++ b/test/test-pages/svg-parsing/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "SVG parsing", - "Author": null, - "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\ntempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\nquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\nconsequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\ncillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\nproident, sunt in culpa qui officia deserunt mollit anim id est laborum." -} + "Title": "SVG parsing", + "Author": null, + "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\ntempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\nquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\nconsequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\ncillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\nproident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/table-style-attributes/expected-images.json b/test/test-pages/table-style-attributes/expected-images.json index f6032c1..c2a1ea9 100644 --- a/test/test-pages/table-style-attributes/expected-images.json +++ b/test/test-pages/table-style-attributes/expected-images.json @@ -1 +1,3 @@ -["http:\/\/fakehost\/test\/..\/compass1.gif"]
\ No newline at end of file +[ + "http:\/\/fakehost\/test\/..\/compass1.gif" +]
\ No newline at end of file diff --git a/test/test-pages/table-style-attributes/expected-metadata.json b/test/test-pages/table-style-attributes/expected-metadata.json index 3866f09..08157c1 100644 --- a/test/test-pages/table-style-attributes/expected-metadata.json +++ b/test/test-pages/table-style-attributes/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "linux video", - "Author": null, - "Direction": null, - "Excerpt": "linux usability\n ...or, why do I bother. © 2002, 2003\n Jamie Zawinski" -} + "Title": "linux video", + "Author": null, + "Direction": null, + "Excerpt": "linux usability\n ...or, why do I bother. © 2002, 2003\n Jamie Zawinski", + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/telegraph/expected-images.json b/test/test-pages/telegraph/expected-images.json index 0637a08..c52fd8c 100644 --- a/test/test-pages/telegraph/expected-images.json +++ b/test/test-pages/telegraph/expected-images.json @@ -1 +1,3 @@ -[]
\ No newline at end of file +[ + "http:\/\/www.telegraph.co.uk\/content\/dam\/news\/2017\/11\/16\/TELEMMGLPICT000146889449-xlarge_trans_NvBQzQNjv4BqySoB6nTCgtc7U4LQ_FPO4hKi2sT3vi7ux2-RDZwC4QA.jpeg" +]
\ No newline at end of file diff --git a/test/test-pages/telegraph/expected-metadata.json b/test/test-pages/telegraph/expected-metadata.json index 196d045..8de1040 100644 --- a/test/test-pages/telegraph/expected-metadata.json +++ b/test/test-pages/telegraph/expected-metadata.json @@ -1,4 +1,7 @@ { - "Title": "Zimbabwe coup: Robert Mugabe and wife Grace 'insisting he finishes his term', as priest steps in to mediate", - "Excerpt": "Zimbabwe President Robert Mugabe, his wife Grace and two key figures from her G40 political faction are under house arrest at Mugabe's "Blue House" compound in Harare and are insisting the 93 year-old finishes his presidential term, a source said." -} + "Title": "Zimbabwe coup: Robert Mugabe and wife Grace 'insisting he finishes his term', as priest steps in to mediate", + "Excerpt": "Zimbabwe President Robert Mugabe, his wife Grace and two key figures from her G40 political faction are under house arrest at Mugabe's "Blue House" compound in Harare and are insisting the 93 year-old finishes his presidential term, a source said.", + "Image": "http:\/\/www.telegraph.co.uk\/content\/dam\/news\/2017\/11\/16\/TELEMMGLPICT000146889449-xlarge_trans_NvBQzQNjv4BqySoB6nTCgtc7U4LQ_FPO4hKi2sT3vi7ux2-RDZwC4QA.jpeg", + "Author": "Our Foreign Staff \n \n\n16 November 2017 • 2:15pm", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/title-and-h1-discrepancy/expected-metadata.json b/test/test-pages/title-and-h1-discrepancy/expected-metadata.json index 2840904..fb02536 100644 --- a/test/test-pages/title-and-h1-discrepancy/expected-metadata.json +++ b/test/test-pages/title-and-h1-discrepancy/expected-metadata.json @@ -1,4 +1,7 @@ { - "Title": "This is a long title with a colon: Hello there", - "Excerpt": "Lorem\n ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum." -} + "Title": "This is a long title with a colon: Hello there", + "Excerpt": "Lorem\n ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", + "Author": null, + "Direction": null, + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/tmz-1/expected-images.json b/test/test-pages/tmz-1/expected-images.json index 6da1a0f..fa74f0b 100644 --- a/test/test-pages/tmz-1/expected-images.json +++ b/test/test-pages/tmz-1/expected-images.json @@ -1 +1,6 @@ -["http:\/\/ll-media.tmz.com\/2015\/02\/26\/0225-lupita-nyongo-getty-01-1200x630.jpg","http:\/\/ll-media.tmz.com\/2015\/02\/26\/0225-lupita-nyongo-getty-4.jpg","http:\/\/ll-media.tmz.com\/2013\/11\/20\/update-graphic-red-bar.jpg","http:\/\/ll-media.tmz.com\/2015\/02\/26\/0226-sub-london-hotel-swipe-tmz-11.jpg"]
\ No newline at end of file +[ + "http:\/\/ll-media.tmz.com\/2015\/02\/26\/0225-lupita-nyongo-getty-01-1200x630.jpg", + "http:\/\/ll-media.tmz.com\/2015\/02\/26\/0225-lupita-nyongo-getty-4.jpg", + "http:\/\/ll-media.tmz.com\/2013\/11\/20\/update-graphic-red-bar.jpg", + "http:\/\/ll-media.tmz.com\/2015\/02\/26\/0226-sub-london-hotel-swipe-tmz-11.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/tmz-1/expected-metadata.json b/test/test-pages/tmz-1/expected-metadata.json index 994d596..364beed 100644 --- a/test/test-pages/tmz-1/expected-metadata.json +++ b/test/test-pages/tmz-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Lupita Nyong'o's $150K Pearl Oscar Dress -- STOLEN!!!", - "Author": null, - "Excerpt": "Lupita Nyong'o's now-famous Oscar dress -- adorned in pearls -- was stolen right out of her hotel room ... TMZ has learned. Law enforcement sources tell…" -} + "Title": "Lupita Nyong'o's $150K Pearl Oscar Dress -- STOLEN!!!", + "Author": null, + "Excerpt": "Lupita Nyong'o's now-famous Oscar dress -- adorned in pearls -- was stolen right out of her hotel room ... TMZ has learned. Law enforcement sources tell…", + "Image": "http:\/\/ll-media.tmz.com\/2015\/02\/26\/0225-lupita-nyongo-getty-01-1200x630.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/tumblr/expected-images.json b/test/test-pages/tumblr/expected-images.json index 0637a08..bce09c6 100644 --- a/test/test-pages/tumblr/expected-images.json +++ b/test/test-pages/tumblr/expected-images.json @@ -1 +1,3 @@ -[]
\ No newline at end of file +[ + "http:\/\/assets.tumblr.com\/images\/og\/fb_landscape_share.png" +]
\ No newline at end of file diff --git a/test/test-pages/tumblr/expected-metadata.json b/test/test-pages/tumblr/expected-metadata.json index 4589af0..d0ecb00 100644 --- a/test/test-pages/tumblr/expected-metadata.json +++ b/test/test-pages/tumblr/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "Minecraft 1.8 - The Bountiful Update", - "Author": null, - "Direction": null, - "Excerpt": "+ Added Granite, Andesite, and Diorite stone blocks, with smooth versions\n+ Added Slime Block\n+ Added Iron Trapdoor\n+ Added Prismarine and Sea Lantern blocks\n+ Added the Ocean Monument\n+ Added Red..." -} + "Title": "Minecraft 1.8 - The Bountiful Update", + "Author": null, + "Direction": null, + "Excerpt": "+ Added Granite, Andesite, and Diorite stone blocks, with smooth versions\n+ Added Slime Block\n+ Added Iron Trapdoor\n+ Added Prismarine and Sea Lantern blocks\n+ Added the Ocean Monument\n+ Added Red...", + "Image": "http:\/\/assets.tumblr.com\/images\/og\/fb_landscape_share.png" +}
\ No newline at end of file diff --git a/test/test-pages/wapo-1/expected-images.json b/test/test-pages/wapo-1/expected-images.json index 95ae464..cc41335 100644 --- a/test/test-pages/wapo-1/expected-images.json +++ b/test/test-pages/wapo-1/expected-images.json @@ -1 +1,4 @@ -["https:\/\/img.washingtonpost.com\/rf\/image_480w\/2010-2019\/WashingtonPost\/2015\/03\/18\/Foreign\/Graphics\/tunisia600.jpg?uuid=1_yuLs2LEeSHME9HNBbnWQ"]
\ No newline at end of file +[ + "http:\/\/img.washingtonpost.com\/rw\/2010-2019\/WashingtonPost\/2015\/03\/18\/Foreign\/Images\/Nic6429927.jpg", + "https:\/\/img.washingtonpost.com\/rf\/image_480w\/2010-2019\/WashingtonPost\/2015\/03\/18\/Foreign\/Graphics\/tunisia600.jpg?uuid=1_yuLs2LEeSHME9HNBbnWQ" +]
\ No newline at end of file diff --git a/test/test-pages/wapo-1/expected-metadata.json b/test/test-pages/wapo-1/expected-metadata.json index ac80bbb..5a89ef0 100644 --- a/test/test-pages/wapo-1/expected-metadata.json +++ b/test/test-pages/wapo-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Attack stokes instability fears in North Africa", - "Author": "By Erin Cunningham", - "Excerpt": "The assault on Tunisia’s most renowned museum, in which gunmen killed at least 19 people, could heighten tensions in a nation that has become deeply divided between pro- and anti-Islamist factions." -} + "Title": "Attack stokes instability fears in North Africa", + "Author": "By Erin Cunningham", + "Excerpt": "The assault on Tunisia’s most renowned museum, in which gunmen killed at least 19 people, could heighten tensions in a nation that has become deeply divided between pro- and anti-Islamist factions.", + "Image": "http:\/\/img.washingtonpost.com\/rw\/2010-2019\/WashingtonPost\/2015\/03\/18\/Foreign\/Images\/Nic6429927.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/wapo-2/expected-images.json b/test/test-pages/wapo-2/expected-images.json index c5ed262..a8602d5 100644 --- a/test/test-pages/wapo-2/expected-images.json +++ b/test/test-pages/wapo-2/expected-images.json @@ -1 +1,5 @@ -["https:\/\/img.washingtonpost.com\/rf\/image_400w\/2010-2019\/WashingtonPost\/2015\/03\/18\/National-Economy\/Images\/Nic6429750-1140.jpg?uuid=zLIZQs2KEeSip5UXo6cFBg","http:\/\/img.washingtonpost.com\/wp-apps\/imrs.php?src=http:\/\/www.washingtonpost.com\/blogs\/wonkblog\/files\/2014\/07\/mufson_steve.jpg&h=180&w=180"]
\ No newline at end of file +[ + "http:\/\/img.washingtonpost.com\/rw\/2010-2019\/WashingtonPost\/2015\/03\/18\/National-Economy\/Images\/Nic6429750-1138.jpg", + "https:\/\/img.washingtonpost.com\/rf\/image_400w\/2010-2019\/WashingtonPost\/2015\/03\/18\/National-Economy\/Images\/Nic6429750-1140.jpg?uuid=zLIZQs2KEeSip5UXo6cFBg", + "http:\/\/img.washingtonpost.com\/wp-apps\/imrs.php?src=http:\/\/www.washingtonpost.com\/blogs\/wonkblog\/files\/2014\/07\/mufson_steve.jpg&h=180&w=180" +]
\ No newline at end of file diff --git a/test/test-pages/wapo-2/expected-metadata.json b/test/test-pages/wapo-2/expected-metadata.json index bee9dd4..3bd32ec 100644 --- a/test/test-pages/wapo-2/expected-metadata.json +++ b/test/test-pages/wapo-2/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Where do strained U.S.-Israeli relations go after Netanyahu’s victory?", - "Author": "By Steven Mufson", - "Excerpt": "Few foreign leaders have so brazenly stood up to President Obama and the relationship could face its next test this month." -} + "Title": "Where do strained U.S.-Israeli relations go after Netanyahu’s victory?", + "Author": "By Steven Mufson", + "Excerpt": "Few foreign leaders have so brazenly stood up to President Obama and the relationship could face its next test this month.", + "Image": "http:\/\/img.washingtonpost.com\/rw\/2010-2019\/WashingtonPost\/2015\/03\/18\/National-Economy\/Images\/Nic6429750-1138.jpg", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/webmd-1/expected-images.json b/test/test-pages/webmd-1/expected-images.json index 5e230b1..2b266e4 100644 --- a/test/test-pages/webmd-1/expected-images.json +++ b/test/test-pages/webmd-1/expected-images.json @@ -1 +1,3 @@ -["http:\/\/img.webmd.com\/dtmcms\/live\/webmd\/consumer_assets\/site_images\/miscellaneous\/webmd_FB_logo_bluebkgrd.jpg?v=1"]
\ No newline at end of file +[ + "http:\/\/img.webmd.com\/dtmcms\/live\/webmd\/consumer_assets\/site_images\/miscellaneous\/webmd_FB_logo_bluebkgrd.jpg?v=1" +]
\ No newline at end of file diff --git a/test/test-pages/webmd-1/expected-metadata.json b/test/test-pages/webmd-1/expected-metadata.json index 315ee82..3afd752 100644 --- a/test/test-pages/webmd-1/expected-metadata.json +++ b/test/test-pages/webmd-1/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Babies Who Eat Peanuts Early May Avoid Allergy", - "Author": "By Brenda Goodman, MA\n WebMD Health News", - "Excerpt": "Life-threatening peanut allergies have mysteriously been on the rise in the past decade, with little hope for a cure. But a groundbreaking new study may offer a way to stem that rise, while another may offer some hope for those who are already allergic." -} + "Title": "Babies Who Eat Peanuts Early May Avoid Allergy", + "Author": "By Brenda Goodman, MA\n WebMD Health News", + "Excerpt": "Life-threatening peanut allergies have mysteriously been on the rise in the past decade, with little hope for a cure. But a groundbreaking new study may offer a way to stem that rise, while another may offer some hope for those who are already allergic.", + "Image": "http:\/\/img.webmd.com\/dtmcms\/live\/webmd\/consumer_assets\/site_images\/miscellaneous\/webmd_FB_logo_bluebkgrd.jpg?v=1", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/webmd-2/expected-images.json b/test/test-pages/webmd-2/expected-images.json index 5e230b1..2b266e4 100644 --- a/test/test-pages/webmd-2/expected-images.json +++ b/test/test-pages/webmd-2/expected-images.json @@ -1 +1,3 @@ -["http:\/\/img.webmd.com\/dtmcms\/live\/webmd\/consumer_assets\/site_images\/miscellaneous\/webmd_FB_logo_bluebkgrd.jpg?v=1"]
\ No newline at end of file +[ + "http:\/\/img.webmd.com\/dtmcms\/live\/webmd\/consumer_assets\/site_images\/miscellaneous\/webmd_FB_logo_bluebkgrd.jpg?v=1" +]
\ No newline at end of file diff --git a/test/test-pages/webmd-2/expected-metadata.json b/test/test-pages/webmd-2/expected-metadata.json index 3bbb5fd..b037ba1 100644 --- a/test/test-pages/webmd-2/expected-metadata.json +++ b/test/test-pages/webmd-2/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Superbugs: What They Are and How You Get Them", - "Author": "By Kelli Miller\n WebMD Health News", - "Excerpt": "Drug-resistant bacteria, dubbed" -} + "Title": "Superbugs: What They Are and How You Get Them", + "Author": "By Kelli Miller\n WebMD Health News", + "Excerpt": "Drug-resistant bacteria, dubbed", + "Image": "http:\/\/img.webmd.com\/dtmcms\/live\/webmd\/consumer_assets\/site_images\/miscellaneous\/webmd_FB_logo_bluebkgrd.jpg?v=1", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/wikia/expected-images.json b/test/test-pages/wikia/expected-images.json index 1a75626..cda925b 100644 --- a/test/test-pages/wikia/expected-images.json +++ b/test/test-pages/wikia/expected-images.json @@ -1 +1,6 @@ -["https:\/\/vignette.wikia.nocookie.net\/e80dae8a-b955-43f6-8ada-f023385e622b\/scale-to-width-down\/627","https:\/\/vignette.wikia.nocookie.net\/375e0e5a-170d-4560-8f20-240c9f0624e9\/scale-to-width-down\/627","https:\/\/vignette.wikia.nocookie.net\/1fb5ee36-d9ae-4125-96d9-f52eb403f1c9\/scale-to-width-down\/627"]
\ No newline at end of file +[ + "http:\/\/fakehost\/test\/720", + "https:\/\/vignette.wikia.nocookie.net\/e80dae8a-b955-43f6-8ada-f023385e622b\/scale-to-width-down\/627", + "https:\/\/vignette.wikia.nocookie.net\/375e0e5a-170d-4560-8f20-240c9f0624e9\/scale-to-width-down\/627", + "https:\/\/vignette.wikia.nocookie.net\/1fb5ee36-d9ae-4125-96d9-f52eb403f1c9\/scale-to-width-down\/627" +]
\ No newline at end of file diff --git a/test/test-pages/wikia/expected-metadata.json b/test/test-pages/wikia/expected-metadata.json index 3ad3235..4769623 100644 --- a/test/test-pages/wikia/expected-metadata.json +++ b/test/test-pages/wikia/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "'Star Wars' Original Cuts Might Get Released for 40th Anniversary", - "Author": "James Akinaka", - "Direction": null, - "Excerpt": "As a 40th birthday present to the Star Wars Saga and its fans, Lucasfilm could re-release the original versions of the original trilogy films." -} + "Title": "'Star Wars' Original Cuts Might Get Released for 40th Anniversary", + "Author": "James Akinaka", + "Direction": null, + "Excerpt": "As a 40th birthday present to the Star Wars Saga and its fans, Lucasfilm could re-release the original versions of the original trilogy films.", + "Image": "http:\/\/fakehost\/test\/720" +}
\ No newline at end of file diff --git a/test/test-pages/wikipedia/expected-images.json b/test/test-pages/wikipedia/expected-images.json index 1400f69..81d1c9d 100644 --- a/test/test-pages/wikipedia/expected-images.json +++ b/test/test-pages/wikipedia/expected-images.json @@ -1 +1,9 @@ -["http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/7\/76\/Mozilla_Firefox_logo_2013.svg\/220px-Mozilla_Firefox_logo_2013.svg.png","http:\/\/upload.wikimedia.org\/wikipedia\/commons\/0\/0d\/SeaMonkey.png","http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/d\/d7\/Buggie.svg\/220px-Buggie.svg.png","http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/2\/2a\/London_Mozilla_Workspace.jpg\/220px-London_Mozilla_Workspace.jpg","http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/0\/0b\/Mozilla_Reps.png\/220px-Mozilla_Reps.png","http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/e\/e4\/Fireside_Chat%2C_Knight%27s_Michael_Maness_and_Dan_Sinker_-_Flickr_-_Knight_Foundation.jpg\/220px-Fireside_Chat%2C_Knight%27s_Michael_Maness_and_Dan_Sinker_-_Flickr_-_Knight_Foundation.jpg","http:\/\/upload.wikimedia.org\/wikipedia\/en\/thumb\/4\/4a\/Commons-logo.svg\/30px-Commons-logo.svg.png"]
\ No newline at end of file +[ + "http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/7\/76\/Mozilla_Firefox_logo_2013.svg\/220px-Mozilla_Firefox_logo_2013.svg.png", + "http:\/\/upload.wikimedia.org\/wikipedia\/commons\/0\/0d\/SeaMonkey.png", + "http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/d\/d7\/Buggie.svg\/220px-Buggie.svg.png", + "http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/2\/2a\/London_Mozilla_Workspace.jpg\/220px-London_Mozilla_Workspace.jpg", + "http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/0\/0b\/Mozilla_Reps.png\/220px-Mozilla_Reps.png", + "http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/e\/e4\/Fireside_Chat%2C_Knight%27s_Michael_Maness_and_Dan_Sinker_-_Flickr_-_Knight_Foundation.jpg\/220px-Fireside_Chat%2C_Knight%27s_Michael_Maness_and_Dan_Sinker_-_Flickr_-_Knight_Foundation.jpg", + "http:\/\/upload.wikimedia.org\/wikipedia\/en\/thumb\/4\/4a\/Commons-logo.svg\/30px-Commons-logo.svg.png" +]
\ No newline at end of file diff --git a/test/test-pages/wikipedia/expected-metadata.json b/test/test-pages/wikipedia/expected-metadata.json index 52b13ff..8ee82cf 100644 --- a/test/test-pages/wikipedia/expected-metadata.json +++ b/test/test-pages/wikipedia/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "Mozilla - Wikipedia", - "Author": null, - "Direction": "ltr", - "Excerpt": "Mozilla is a free-software community, created in 1998 by members of Netscape. The Mozilla community uses, develops, spreads and supports Mozilla products, thereby promoting exclusively free software and open standards, with only minor exceptions.[1] The community is supported institutionally by the Mozilla Foundation and its tax-paying subsidiary, the Mozilla Corporation.[2]" -} + "Title": "Mozilla - Wikipedia", + "Author": null, + "Direction": "ltr", + "Excerpt": "Mozilla is a free-software community, created in 1998 by members of Netscape. The Mozilla community uses, develops, spreads and supports Mozilla products, thereby promoting exclusively free software and open standards, with only minor exceptions.[1] The community is supported institutionally by the Mozilla Foundation and its tax-paying subsidiary, the Mozilla Corporation.[2]", + "Image": null +}
\ No newline at end of file diff --git a/test/test-pages/wordpress/expected-images.json b/test/test-pages/wordpress/expected-images.json index 18cf367..acbb131 100644 --- a/test/test-pages/wordpress/expected-images.json +++ b/test/test-pages/wordpress/expected-images.json @@ -1 +1,6 @@ -["https:\/\/i0.wp.com\/wptavern.com\/wp-content\/uploads\/2016\/07\/stack-overflow.png?resize=1025%2C401&ssl=1","https:\/\/i2.wp.com\/wptavern.com\/wp-content\/uploads\/2017\/03\/ChangesinDemand.png?resize=975%2C1115&ssl=1","https:\/\/i1.wp.com\/wptavern.com\/wp-content\/uploads\/2017\/03\/HighDemand.png?resize=975%2C854&ssl=1"]
\ No newline at end of file +[ + "http:\/\/fakehost\/test\/470", + "https:\/\/i0.wp.com\/wptavern.com\/wp-content\/uploads\/2016\/07\/stack-overflow.png?resize=1025%2C401&ssl=1", + "https:\/\/i2.wp.com\/wptavern.com\/wp-content\/uploads\/2017\/03\/ChangesinDemand.png?resize=975%2C1115&ssl=1", + "https:\/\/i1.wp.com\/wptavern.com\/wp-content\/uploads\/2017\/03\/HighDemand.png?resize=975%2C854&ssl=1" +]
\ No newline at end of file diff --git a/test/test-pages/wordpress/expected-metadata.json b/test/test-pages/wordpress/expected-metadata.json index c9d6abd..a9dcbfa 100644 --- a/test/test-pages/wordpress/expected-metadata.json +++ b/test/test-pages/wordpress/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "Stack Overflow Jobs Data Shows ReactJS Skills in High Demand, WordPress Market Oversaturated with Developers", - "Author": null, - "Direction": null, - "Excerpt": "Stack Overflow published its analysis of 2017 hiring trends based on the targeting options employers selected when posting to Stack Overflow Jobs. The report, which compares data from 200 companies…" -} + "Title": "Stack Overflow Jobs Data Shows ReactJS Skills in High Demand, WordPress Market Oversaturated with Developers", + "Author": null, + "Direction": null, + "Excerpt": "Stack Overflow published its analysis of 2017 hiring trends based on the targeting options employers selected when posting to Stack Overflow Jobs. The report, which compares data from 200 companies…", + "Image": "http:\/\/fakehost\/test\/470" +}
\ No newline at end of file diff --git a/test/test-pages/yahoo-1/expected-images.json b/test/test-pages/yahoo-1/expected-images.json index 4747f02..4c0fc4c 100644 --- a/test/test-pages/yahoo-1/expected-images.json +++ b/test/test-pages/yahoo-1/expected-images.json @@ -1 +1,4 @@ -["http:\/\/l1.yimg.com\/ny\/api\/res\/1.2\/589noY9BZNdmsUUQf6L1AQ--\/YXBwaWQ9aGlnaGxhbmRlcjtzbT0xO3c9NzQ0O2g9NjY5\/http:\/\/media.zenfs.com\/en\/homerun\/feed_manager_auto_publish_494\/4406ef57dcb40376c513903b03bef048"]
\ No newline at end of file +[ + "http:\/\/l3.yimg.com\/uu\/api\/res\/1.2\/4eRCPf9lJt_3q29.outekQ--\/aD02Njk7dz03NDQ7c209MTthcHBpZD15dGFjaHlvbg--\/http:\/\/media.zenfs.com\/en\/homerun\/feed_manager_auto_publish_494\/4406ef57dcb40376c513903b03bef048", + "http:\/\/l1.yimg.com\/ny\/api\/res\/1.2\/589noY9BZNdmsUUQf6L1AQ--\/YXBwaWQ9aGlnaGxhbmRlcjtzbT0xO3c9NzQ0O2g9NjY5\/http:\/\/media.zenfs.com\/en\/homerun\/feed_manager_auto_publish_494\/4406ef57dcb40376c513903b03bef048" +]
\ No newline at end of file diff --git a/test/test-pages/yahoo-1/expected-metadata.json b/test/test-pages/yahoo-1/expected-metadata.json index e4bcca1..2d7eb9b 100644 --- a/test/test-pages/yahoo-1/expected-metadata.json +++ b/test/test-pages/yahoo-1/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "These are the 8 coolest PlayStation VR games", - "Author": "Ben Silverman", - "Direction": null, - "Excerpt": "To help you decide what’s what, I’ve put together this list of the 8 PSVR games worth considering. Beloved cult hit “Rez” gets the VR treatment to help launch the PSVR, and the results are terrific. Chaos, for sure, and also “Thumper.” Called a “violent rhythm game” by its creators, “Thumper” is, well" -} + "Title": "These are the 8 coolest PlayStation VR games", + "Author": "Ben Silverman", + "Direction": null, + "Excerpt": "To help you decide what’s what, I’ve put together this list of the 8 PSVR games worth considering. Beloved cult hit “Rez” gets the VR treatment to help launch the PSVR, and the results are terrific. Chaos, for sure, and also “Thumper.” Called a “violent rhythm game” by its creators, “Thumper” is, well", + "Image": "http:\/\/l3.yimg.com\/uu\/api\/res\/1.2\/4eRCPf9lJt_3q29.outekQ--\/aD02Njk7dz03NDQ7c209MTthcHBpZD15dGFjaHlvbg--\/http:\/\/media.zenfs.com\/en\/homerun\/feed_manager_auto_publish_494\/4406ef57dcb40376c513903b03bef048" +}
\ No newline at end of file diff --git a/test/test-pages/yahoo-2/expected-images.json b/test/test-pages/yahoo-2/expected-images.json index 0637a08..6ece996 100644 --- a/test/test-pages/yahoo-2/expected-images.json +++ b/test/test-pages/yahoo-2/expected-images.json @@ -1 +1,3 @@ -[]
\ No newline at end of file +[ + "https:\/\/s.yimg.com\/os\/mit\/media\/m\/social\/images\/social_default_logo-1481777.png" +]
\ No newline at end of file diff --git a/test/test-pages/yahoo-2/expected-metadata.json b/test/test-pages/yahoo-2/expected-metadata.json index fe406c3..e593271 100644 --- a/test/test-pages/yahoo-2/expected-metadata.json +++ b/test/test-pages/yahoo-2/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Yahoo News - Latest News & Headlines", - "Author": "NATALIYA VASILYEVA", - "Excerpt": "The latest news and headlines from Yahoo! News. Get breaking news stories and in-depth coverage with videos and photos." -} + "Title": "Yahoo News - Latest News & Headlines", + "Author": "NATALIYA VASILYEVA", + "Excerpt": "The latest news and headlines from Yahoo! News. Get breaking news stories and in-depth coverage with videos and photos.", + "Image": "https:\/\/s.yimg.com\/os\/mit\/media\/m\/social\/images\/social_default_logo-1481777.png", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/yahoo-3/expected-images.json b/test/test-pages/yahoo-3/expected-images.json index f9727c2..36f5f06 100644 --- a/test/test-pages/yahoo-3/expected-images.json +++ b/test/test-pages/yahoo-3/expected-images.json @@ -1 +1,4 @@ -["https:\/\/s3.yimg.com\/bt\/api\/res\/1.2\/GNtA09EDJWzWfpBzGYJS0Q--\/YXBwaWQ9eW5ld3NfbGVnbztxPTg1O3c9NjMw\/http:\/\/media.zenfs.com\/en_us\/gma\/us.abcnews.gma.com\/HT_flag_baby_jtm_150311_16x9_992.jpg"]
\ No newline at end of file +[ + "https:\/\/s.yimg.com\/bt\/api\/res\/1.2\/qZaM9MLUOrxLg4IfXt_Niw--\/YXBwaWQ9eW5ld3NfbGVnbztxPTc1O3c9NjAw\/http:\/\/media.zenfs.com\/en-US\/video\/video.abcnewsplus.com\/559ecdbafdb839129816b5c79a996975.cf.png", + "https:\/\/s3.yimg.com\/bt\/api\/res\/1.2\/GNtA09EDJWzWfpBzGYJS0Q--\/YXBwaWQ9eW5ld3NfbGVnbztxPTg1O3c9NjMw\/http:\/\/media.zenfs.com\/en_us\/gma\/us.abcnews.gma.com\/HT_flag_baby_jtm_150311_16x9_992.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/yahoo-3/expected-metadata.json b/test/test-pages/yahoo-3/expected-metadata.json index 1ffa6e7..a3ad573 100644 --- a/test/test-pages/yahoo-3/expected-metadata.json +++ b/test/test-pages/yahoo-3/expected-metadata.json @@ -1,5 +1,7 @@ { - "Title": "Veteran Wraps Baby in American Flag, Photo Sparks Controversy", - "Excerpt": "A photographer and Navy veteran is fighting back after a photo she posted to Facebook started an online backlash. Vanessa Hicks said she had no idea her photo would be considered controversial. The photo, from a military family’s newborn photo shoot, showed a newborn infant wrapped in an American flag held by his father, who was in his military uniform. Hicks, a Navy veteran herself and the wife of an active-duty Navy member, said her intention was to honor the flag as well as her clients, who wanted to incorporate their military service in the photo shoot.", - "Author": "By GILLIAN MOHNEY\n March 11, 2015 3:46 PM" -} + "Title": "Veteran Wraps Baby in American Flag, Photo Sparks Controversy", + "Excerpt": "A photographer and Navy veteran is fighting back after a photo she posted to Facebook started an online backlash. Vanessa Hicks said she had no idea her photo would be considered controversial. The photo, from a military family’s newborn photo shoot, showed a newborn infant wrapped in an American flag held by his father, who was in his military uniform. Hicks, a Navy veteran herself and the wife of an active-duty Navy member, said her intention was to honor the flag as well as her clients, who wanted to incorporate their military service in the photo shoot.", + "Author": "By GILLIAN MOHNEY\n March 11, 2015 3:46 PM", + "Image": "https:\/\/s.yimg.com\/bt\/api\/res\/1.2\/qZaM9MLUOrxLg4IfXt_Niw--\/YXBwaWQ9eW5ld3NfbGVnbztxPTc1O3c9NjAw\/http:\/\/media.zenfs.com\/en-US\/video\/video.abcnewsplus.com\/559ecdbafdb839129816b5c79a996975.cf.png", + "Direction": null +}
\ No newline at end of file diff --git a/test/test-pages/yahoo-4/expected-images.json b/test/test-pages/yahoo-4/expected-images.json index 0637a08..2c0c99c 100644 --- a/test/test-pages/yahoo-4/expected-images.json +++ b/test/test-pages/yahoo-4/expected-images.json @@ -1 +1,3 @@ -[]
\ No newline at end of file +[ + "http:\/\/fakehost\/test\/600" +]
\ No newline at end of file diff --git a/test/test-pages/yahoo-4/expected-metadata.json b/test/test-pages/yahoo-4/expected-metadata.json index 8048fe7..82557ef 100644 --- a/test/test-pages/yahoo-4/expected-metadata.json +++ b/test/test-pages/yahoo-4/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "トレンドマイクロ、公衆無線LANを安全に使うためのアプリ「フリーWi-Fiプロテクション」(CNET Japan) - Yahoo!ニュース", - "Author": null, - "Direction": null, - "Excerpt": "トレンドマイクロは3月9日、Wi-Fi利用時の通信を暗号化し保護するスマホ・タブレット - Yahoo!ニュース(CNET Japan)" -} + "Title": "トレンドマイクロ、公衆無線LANを安全に使うためのアプリ「フリーWi-Fiプロテクション」(CNET Japan) - Yahoo!ニュース", + "Author": null, + "Direction": null, + "Excerpt": "トレンドマイクロは3月9日、Wi-Fi利用時の通信を暗号化し保護するスマホ・タブレット - Yahoo!ニュース(CNET Japan)", + "Image": "http:\/\/fakehost\/test\/600" +}
\ No newline at end of file diff --git a/test/test-pages/youth/expected-images.json b/test/test-pages/youth/expected-images.json index d19c874..72627e0 100644 --- a/test/test-pages/youth/expected-images.json +++ b/test/test-pages/youth/expected-images.json @@ -1 +1,5 @@ -["http:\/\/fakehost\/test\/W020170310313653868929.jpg","http:\/\/fakehost\/test\/W020170310313654043127.jpg","http:\/\/fakehost\/test\/W020170310313654453091.jpg"]
\ No newline at end of file +[ + "http:\/\/fakehost\/test\/W020170310313653868929.jpg", + "http:\/\/fakehost\/test\/W020170310313654043127.jpg", + "http:\/\/fakehost\/test\/W020170310313654453091.jpg" +]
\ No newline at end of file diff --git a/test/test-pages/youth/expected-metadata.json b/test/test-pages/youth/expected-metadata.json index cf1afac..4608fd7 100644 --- a/test/test-pages/youth/expected-metadata.json +++ b/test/test-pages/youth/expected-metadata.json @@ -1,6 +1,7 @@ { - "Title": "海外留学生看两会:出国前后关注点大不同_教育频道_中国青年网", - "Author": "青网校园崔宁宁", - "Direction": null, - "Excerpt": "图为马素湘在澳大利亚悉尼游玩时的近影。出国前后关注点大不同出国前:政治科目会出啥考题?出国后:国家未来将如何发展?在采访中,我们了解到不少学子在出国前就每年守在电脑前观看两会直播。但是,随着年龄和阅历的增长,学子对两会的关注点在出国前后发生了很大的变化。在法国里昂国立应用科学院留学的卢宇表示,他还是个中学生时,就开始关注两会了。“我高中毕业后就出国留学了。" -} + "Title": "海外留学生看两会:出国前后关注点大不同_教育频道_中国青年网", + "Author": "青网校园崔宁宁", + "Direction": null, + "Excerpt": "图为马素湘在澳大利亚悉尼游玩时的近影。出国前后关注点大不同出国前:政治科目会出啥考题?出国后:国家未来将如何发展?在采访中,我们了解到不少学子在出国前就每年守在电脑前观看两会直播。但是,随着年龄和阅历的增长,学子对两会的关注点在出国前后发生了很大的变化。在法国里昂国立应用科学院留学的卢宇表示,他还是个中学生时,就开始关注两会了。“我高中毕业后就出国留学了。", + "Image": null +}
\ No newline at end of file |