A police operation that took two years to plan undercovers a paedophile ring that was reaching a global audience online.