</span> <span class="n">tag</span> <span class="ow">in</span> <span class="n">img_tags</span><span class="p">:</span>
            <span class="k">if</span> <span class="n">tag</span><span class="o">.</span><span class="n">has_attr</span><span class="p">(</span><span class="s1">&#39;data-src&#39;</span><span class="p">):</span>
                <span class="n">urls</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">tag</span><span class="p">[</span><span class="