Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import requests
  2. from bs4 import BeautifulSoup
  3.  
  4. ok = requests.get('http://okanime.com/animes/one-piece/episodes/one-piece-314')
  5. parse = BeautifulSoup(ok.content, 'html5lib')
  6.  
  7. for url in parse.find_all('iframe'):
  8. print(url['src'])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement