- Code: Select all
get_flash_videos -p http://www.thedailyshow.com/watch/tue-december-14-2010/obama-leaves-bill-clinton-in-white-house-briefing-room?xrs=rss
when attempted using your suggested config modified like so:
- Code: Select all
config {
def GET_FLASH_VIDEOS = '/usr/bin/get_flash_videos'
def PERL = '/usr/bin/perl'
profile ('Get Flash Videos') {
pattern {
domain $URI, [
'comedycentral.com',
'thedailyshow.com',
'mtvnservices.com'
]
}
action {
$DOWNLOADER = "$PERL $GET_FLASH_VIDEOS --quality high --filename $DOWNLOADER_OUT ${$URI}".tokenize()
}
}
}
yields no match:
- Code: Select all
2010-12-15 14:02:34 [INFO|Profile|match|New I/O server worker #1-1]: matching profile: Get Flash Videos
2010-12-15 14:02:34 [WARN|Pattern|invoke0|New I/O server worker #1-1]: invalid match: http://www.thedailyshow.com/watch/tue-december-14-2010/obama-leaves-bill-clinton-in-white-house-briefing-room?xrs=rss_tdsvids is not defined
2010-12-15 14:02:34 [WARN|Pattern|invoke0|New I/O server worker #1-1]: invalid match: http://www.thedailyshow.com/watch/tue-december-14-2010/obama-leaves-bill-clinton-in-white-house-briefing-room?xrs=rss_tdsvids is not defined
2010-12-15 14:02:34 [WARN|Pattern|invoke0|New I/O server worker #1-1]: invalid match: http://www.thedailyshow.com/watch/tue-december-14-2010/obama-leaves-bill-clinton-in-white-house-briefing-room?xrs=rss_tdsvids is not defined
2010-12-15 14:02:34 [WARN|Pattern|invoke0|New I/O server worker #1-1]: invalid match: http://www.thedailyshow.com/watch/tue-december-14-2010/obama-leaves-bill-clinton-in-white-house-briefing-room?xrs=rss_tdsvids is not defined
2010-12-15 14:02:34 [WARN|Pattern|invoke0|New I/O server worker #1-1]: invalid match: http://www.thedailyshow.com/watch/tue-december-14-2010/obama-leaves-bill-clinton-in-white-house-briefing-room?xrs=rss_tdsvids is not defined
2010-12-15 14:02:34 [INFO|Engine|launchTranscode|New I/O server worker #1-1]: 0 matches for: http://www.thedailyshow.com/watch/tue-december-14-2010/obama-leaves-bill-clinton-in-white-house-briefing-room?xrs=rss_tdsvids
2010-12-15 14:02:34 [INFO|Engine|launchTranscode|New I/O server worker #1-1]: transcoder command: [mencoder, -o, /tmp/javaps3media/pmsencoder_transcoder_out_1292439754319, -prefer-ipv4, -oac, lavc, -of, lavf, -lavfopts, format=dvd, -ovc, lavc, -lavcopts, vcodec=mpeg2video:vbitrate=4096:threads=4:acodec=ac3:abitrate=128, -ofps, 25, -cache, 16384, -vf, harddup, http://www.thedailyshow.com/watch/tue-december-14-2010/obama-leaves-bill-clinton-in-white-house-briefing-room?xrs=rss_tdsvids]
I guess I need a quick primer (or example) on how to set up the match regex.
