<div class="ramka"><div class="label_color_yellow">реклама</div> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- MYtricolorTV-top-ssylki-1 --> <ins class="adsbygoogle" style="display:block;height:120px;"`введите сюда код` data-ad-client="ca-pub-6002780752776386" data-ad-slot="6604387368" data-ad-format="link" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div> I wrote the script:
import requests import urllib.request from bs4 import BeautifulSoup r = requests.get('http://mytricolortv.com/') s1 = BeautifulSoup(r.text,"html.parser") m = s1.find_all('script') print(m) Can't get to src. I need to extend the path //pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
Help me please.