Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The user/searchTerm function does not filter by search term #1283

Closed
uhs-robert opened this issue Aug 21, 2024 · 0 comments
Closed

The user/searchTerm function does not filter by search term #1283

uhs-robert opened this issue Aug 21, 2024 · 0 comments

Comments

@uhs-robert
Copy link
Contributor

Issue / Suggestion

The user/searchTerm function does not filter by search term. Instead it just provides all videos for a user and ignores the search term.

Issue occurs with the following command user exampleUser/exampleSearch

The function should filter the user's videos by the search term provided using the title or description.

Your Environment

yewtube version : 2.10.5
yt_dlp version : 2024.08.06
Python version : 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)]
Processor :
Machine type : x86_64
Architecture : 64bit, ELF
Platform : Linux-6.10.5-200.fc40.x86_64-x86_64-with-glibc2.39
sys.stdout.enc : utf-8
default enc : utf-8
Config dir : /home/roberth/.config/mps-youtube
dbus : 1.3.2
glib : True
env:TERM : xterm-256color
env:SHELL : /bin/bash
env:LANG : en_US.UTF-8

OS Fedora Linux
Linux 6.10.5-200.fc40.x86_64

mpv 0.37.0 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects

iamtalhaasghar pushed a commit that referenced this issue Sep 11, 2024
…deos including optional filtering of search terms (#1282)

* Updated the all_videos_from_channel function to return all videos from a channel, not just the first page of playlist results (previous method only returned up to 100 videos max).

* Updated the usersearch_id function to filter the returned videos by search term in the title or description. This restores the ability to search a user's videos.
iamtalhaasghar added a commit that referenced this issue Sep 11, 2024
…deos including optional filtering of search terms (#1282) (#1288)

* Updated the all_videos_from_channel function to return all videos from a channel, not just the first page of playlist results (previous method only returned up to 100 videos max).

* Updated the usersearch_id function to filter the returned videos by search term in the title or description. This restores the ability to search a user's videos.

Co-authored-by: Robert Hill <[email protected]>
iamtalhaasghar added a commit that referenced this issue Jan 5, 2025
* 2.10.3

Automatically generated by python-semantic-release

* chore: use pipenv

* fix: #806 - pressing q doesn't stops playback when in repeat mode

* 2.10.4

Automatically generated by python-semantic-release

* fix: #1243 bumped yt-dlp version

Thanks to @galgot

* 2.10.5

Automatically generated by python-semantic-release

* docs: extend upgrade instructions (#1249)

This adds the pip / pipx commands to upgrade all the dependencies. This makes directed actions like #1225 (comment) unnecessary.

* added a notice

* fix syntax warnings on 3.12 (#1263)

* Update project URL and version maintenance (#1262)

* Update project URL

* Update __version__ in setup.py

This suppresses the update notifications

* help new: more accurate helptext

`help new` doesn't actually check whether there's a new version,
it shows the changelog for the latest release no matter what.
Update helptext to reflect this.

* Update COLLABORATORS.md

* Fix Issue #1064 and #1283: User and Channel searches to return all videos including optional filtering of search terms (#1282) (#1288)

* Updated the all_videos_from_channel function to return all videos from a channel, not just the first page of playlist results (previous method only returned up to 100 videos max).

* Updated the usersearch_id function to filter the returned videos by search term in the title or description. This restores the ability to search a user's videos.

Co-authored-by: Robert Hill <[email protected]>

* 2.11.0

Automatically generated by python-semantic-release

* 2.11.1

Automatically generated by python-semantic-release

* 2.11.2

Automatically generated by python-semantic-release

* 2.11.3

Automatically generated by python-semantic-release

* 2.11.4

Automatically generated by python-semantic-release

* 2.11.5

Automatically generated by python-semantic-release

* chore: update author email

* fix: wheel_recipe.sh

* 2.11.6

Automatically generated by python-semantic-release

* fix: semantic_release version for pypi setup.py was stuck

* 2.11.7

Automatically generated by python-semantic-release

* chore: clean up setup.cfg

* 2.12.0

Automatically generated by python-semantic-release

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: fslori <[email protected]>
Co-authored-by: Branch Vincent <[email protected]>
Co-authored-by: lawrence <[email protected]>
Co-authored-by: Robert Hill <[email protected]>
Co-authored-by: semantic-release <semantic-release>
iamtalhaasghar added a commit that referenced this issue Jan 5, 2025
* 2.10.3

Automatically generated by python-semantic-release

* chore: use pipenv

* fix: #806 - pressing q doesn't stops playback when in repeat mode

* 2.10.4

Automatically generated by python-semantic-release

* fix: #1243 bumped yt-dlp version

Thanks to @galgot

* 2.10.5

Automatically generated by python-semantic-release

* docs: extend upgrade instructions (#1249)

This adds the pip / pipx commands to upgrade all the dependencies. This makes directed actions like #1225 (comment) unnecessary.

* added a notice

* fix syntax warnings on 3.12 (#1263)

* Update project URL and version maintenance (#1262)

* Update project URL

* Update __version__ in setup.py

This suppresses the update notifications

* help new: more accurate helptext

`help new` doesn't actually check whether there's a new version,
it shows the changelog for the latest release no matter what.
Update helptext to reflect this.

* Update COLLABORATORS.md

* Fix Issue #1064 and #1283: User and Channel searches to return all videos including optional filtering of search terms (#1282) (#1288)

* Updated the all_videos_from_channel function to return all videos from a channel, not just the first page of playlist results (previous method only returned up to 100 videos max).

* Updated the usersearch_id function to filter the returned videos by search term in the title or description. This restores the ability to search a user's videos.

Co-authored-by: Robert Hill <[email protected]>

* 2.11.0

Automatically generated by python-semantic-release

* 2.11.1

Automatically generated by python-semantic-release

* 2.11.2

Automatically generated by python-semantic-release

* 2.11.3

Automatically generated by python-semantic-release

* 2.11.4

Automatically generated by python-semantic-release

* 2.11.5

Automatically generated by python-semantic-release

* chore: update author email

* fix: wheel_recipe.sh

* 2.11.6

Automatically generated by python-semantic-release

* fix: semantic_release version for pypi setup.py was stuck

* 2.11.7

Automatically generated by python-semantic-release

* chore: clean up setup.cfg

* 2.12.0

Automatically generated by python-semantic-release

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: fslori <[email protected]>
Co-authored-by: Branch Vincent <[email protected]>
Co-authored-by: lawrence <[email protected]>
Co-authored-by: Robert Hill <[email protected]>
Co-authored-by: semantic-release <semantic-release>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants