ibmjango
Senior Member
- Jul 3, 2010
- 805
- 316
hello,
i am hobby programmer not professional but did enough work to make practical script for my own use, so here is one script where i am facing problem
i am trying to scrap youtube results for particular keyword i input, script is working fine but problem occur when i try to srap specifically for any country like i want to scrap for keyword "how to lose weight " and here i need all videos ranking for this keyword in USA country, and want to scrap same kind of data from UK country too so i suppose to receive different videos.
but in my case its resulting videos from india which is my original location.
i already tried with proxies and vpn both are not working.
so can you suggest how to solve this problem, i am using pycharm, even i tried on google colab still same results coming. i am getting results from india only.
here is sample code i am using
Countrycode="USA"
def search_youtube(query, max_pages=None, regionCode=Countrycode):
I am using youtube DATA api to fetch data.
can you suggest any work around for this?
i am hobby programmer not professional but did enough work to make practical script for my own use, so here is one script where i am facing problem
i am trying to scrap youtube results for particular keyword i input, script is working fine but problem occur when i try to srap specifically for any country like i want to scrap for keyword "how to lose weight " and here i need all videos ranking for this keyword in USA country, and want to scrap same kind of data from UK country too so i suppose to receive different videos.
but in my case its resulting videos from india which is my original location.
i already tried with proxies and vpn both are not working.
so can you suggest how to solve this problem, i am using pycharm, even i tried on google colab still same results coming. i am getting results from india only.
here is sample code i am using
Countrycode="USA"
def search_youtube(query, max_pages=None, regionCode=Countrycode):
I am using youtube DATA api to fetch data.
can you suggest any work around for this?