Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. <p><script>// <![CDATA[
  2. (function () {
  3. var frameBaseSRC = document.getElementById("results").src;
  4. var frameQueryString = document.location.href.split("?q=")[1];
  5. if (frameQueryString != undefined) {
  6. document.getElementById("results").src = frameBaseSRC + "?q=" + frameQueryString;
  7. }
  8. })();
  9.  
  10. from bs4 import BeautifulSoup
  11. import requests
  12. page = requests("http://www.adv-bio.com/search-results/?q=1081")
  13. soup = BeautifulSoup(page.text, 'lxml')
  14. soup.find('p')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement