Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Added option socks_proxy #190

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Added option socks_proxy #190

wants to merge 2 commits into from

Conversation

lucas1
Copy link

@lucas1 lucas1 commented Jun 29, 2022

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())

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant