Optimized link and submission parsing