Retrieve channel info & search with a specific time span
nghuyong opened this issue · 8 comments
Thank you for this really great work!!!
I have a question, how can I search videos with keywords in a specific time span.
For example, I want to get the videos with "china" and uploading between 2022.1.1 - 2022.1.30
Hello,
I think that's not possible
These are all of filters that are available in YouTube.
But we do provide filters for last month, last hour, last day etc.
from youtubesearchpython import *
customSearch = CustomSearch('NoCopyrightSounds', VideoUploadDateFilter.lastHour, limit = 1)
print(customSearch.result())
I don't know if you are able to search in any third party app by the timespan, if you do know any app, please let me know and I will have a look at it.
Thank you for the reply!!! Currently, I don't find an app that can search with a timespan.
I still have a question, How can I get the information of a user? for example: https://www.youtube.com/c/NoCopyrightSounds/about
Thank you for the reply!!! Currently, I don't find an app that can search with a timespan. I still have a question, How can I get the information of a user? for example: https://www.youtube.com/c/NoCopyrightSounds/about
This is currently not possible. Will have a look into that.
👍👍👍
Sorry it takes me so long. I have a lot of other projects. Will have a look soon.
Never mind, Thanks a lot!!!
When I merge #165, I'll publish everything onto PyPi and you are ready to go.
If you are curious how does it look like, I'd recommend installing from Git:
pip install git+https://github.com/alexmercerind/youtube-search-python@transcript
You can use following code:
from youtubesearchpython import Channel
print(Channel.get("UC_aEa8K-EOJ3D6gOs7HcyNg"))
wow!!! nice job!