diff --git a/features/Dailymotion.feature b/features/Dailymotion.feature index e63604b..4435fa4 100644 --- a/features/Dailymotion.feature +++ b/features/Dailymotion.feature @@ -15,7 +15,7 @@ Feature: Dailymotion service provider Scenario: Get the thumbnail of the Dailymotion video Given The url http://www.dailymotion.com/visited-week/lang/es/video/x7u5kn_parkour-dayyy_sport When I get the thumbnail - Then The result should be "http://s1.dmcdn.net/resw/x240-_VO.jpg" + Then The result should be like "@http(s)?://s[0-9]+-ssl.dmcdn.net/resw/x240-_VO.jpg@" Scenario: Get the embed HTML of the Dailymotion video Given The url http://www.dailymotion.com/visited-week/lang/es/video/x7u5kn_parkour-dayyy_sport diff --git a/features/Ted.feature b/features/Ted.feature index 218dfd4..aff801e 100644 --- a/features/Ted.feature +++ b/features/Ted.feature @@ -20,7 +20,7 @@ Feature: Ted service provider Scenario: Get the thumbnail of the Ted video Given The url http://www.ted.com/talks/benjamin_wallace_on_the_price_of_happiness.html When I get the thumbnail - Then The result should be like "@https://pe.tedcdn.com/images/ted/\S*\.jpg@" + Then The result should be like "@https://pi.tedcdn.com/r/pe.tedcdn.com/images/ted/\S*\.jpg@" Scenario: Get the embed url of the Ted video Given The url http://www.ted.com/talks/benjamin_wallace_on_the_price_of_happiness.html