Recent Posts
None | 12 sec ago
C++ | 15 sec ago
None | 37 sec ago
None | 46 sec ago
None | 51 sec ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By clovanzo on the 31st of Aug 2009 05:08:55 AM Download | Raw | Embed | Report
  1.             # Indowebster.com Video file caching is handled here. www[0-9][0-9]\.indowebster\.com
  2.             if enable_indowebster_cache:
  3.                 if re.compile('www[0-9][0-9]\.indowebster\.com').search(host) and (path.find('.mp3')) > -1 :
  4.                     type = 'INDOWEBSTER'
  5.                     try:
  6.                         video_id = path.strip('/').split('/')[-1]
  7.                     except:
  8.                         log(format%(pid, client, '-', 'URL_ERROR', type, 'Error in parsing the url ' + new_url))
  9.                         video_id = None
  10.                     if video_id is not None:
  11.                         new_url = submit_video(pid, client, type, url, video_id)
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: