Extract preview URL builder from preview checker