fork download
  1. import re
  2. strs = ['http://w...content-available-to-author-only...s.com/','http://w...content-available-to-author-only...s.com','https://w...content-available-to-author-only...s.com/','https://w...content-available-to-author-only...s.com']
  3. r = re.compile(r'https?://([^/]*)/?')
  4. for s in strs:
  5. m = r.search('http://w...content-available-to-author-only...s.com')
  6. if m:
  7. print(m.group(1))
Success #stdin #stdout 0.02s 27744KB
stdin
Standard input is empty
stdout
www.mymovies.com
www.mymovies.com
www.mymovies.com
www.mymovies.com