Skip to content

Instantly share code, notes, and snippets.

@jbanquo
jbanquo / xvideos_dl.py
Created October 22, 2017 13:02
xvideos downloader, place the urls in a file called 'url.txt' and run it!
import re
import requests
import urllib3
def download_src(url, chunk_size=1024):
req = urllib3.PoolManager().request('GET', url, preload_content=False)
src = req.data.decode('utf-8')
req.release_conn()