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

Added option socks_proxy#190

Open
lucas1 wants to merge 2 commits intoalexmercerind:mainfrom
lucas1:main
Open

Added option socks_proxy#190
lucas1 wants to merge 2 commits intoalexmercerind:mainfrom
lucas1:main

Conversation

@lucas1
Copy link
Copy Markdown

@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