youtube-search-python icon indicating copy to clipboard operation
youtube-search-python copied to clipboard

Added option socks_proxy

Open lucas1 opened this issue 3 years ago • 0 comments

Added socks like https://www.python-httpx.org/advanced/#socks

import os
os.environ['SOCKS_PROXY'] = 'socks5://user:pass@host:port'

from youtubesearchpython import VideosSearch

videosSearch = VideosSearch('Test', limit = 2)

print(videosSearch.result())

lucas1 avatar Jun 29 '22 01:06 lucas1