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

add test, handle Youtube quota expiry better #68

Merged
merged 1 commit into from
Mar 28, 2020
Merged

add test, handle Youtube quota expiry better #68

merged 1 commit into from
Mar 28, 2020

Conversation

SathyaBhat
Copy link
Owner

@SathyaBhat SathyaBhat commented Feb 17, 2020

This PR addresses Youtube expiry better but explicitly mentioning what went wrong

@SathyaBhat SathyaBhat closed this Feb 17, 2020
@SathyaBhat SathyaBhat reopened this Feb 17, 2020
@SathyaBhat SathyaBhat closed this Feb 17, 2020
@SathyaBhat SathyaBhat reopened this Feb 17, 2020
@SathyaBhat SathyaBhat changed the base branch from master to dev March 28, 2020 20:11
@SathyaBhat SathyaBhat merged commit 3b914ba into dev Mar 28, 2020
@SathyaBhat SathyaBhat deleted the add-tests branch March 28, 2020 20:13
SathyaBhat added a commit that referenced this pull request Mar 28, 2020
* add test, handle Youtube quota expiry better (#68)

* Add Github action to release to PyPI
SathyaBhat added a commit that referenced this pull request Mar 29, 2020
…#71)

* add test, handle Youtube quota expiry better (#68)

* add sigint handler to handle Ctrl+C better

* major version bump due to Python version change (now needs 3.6+)

* move sentry around so that github action doesn;t complain when trying to fetch version for publishing

* move sentry around

* oops, moved signal to wrong place
SathyaBhat added a commit that referenced this pull request May 9, 2020
* add test, handle Youtube quota expiry better (#68)

* add sigint handler to handle Ctrl+C better

* major version bump due to Python version change (now needs 3.6+)

* move sentry around so that github action doesn;t complain when trying to fetch version for publishing

* move sentry around

* oops, moved signal to wrong place

* Add HTML Scraping functionality

* Update requirements.txt to fit HTML Scrape

* change the log structure

* some additional error handling when scraping fails

* tests for getting link w/ scraping

* update requirements for packaging

Co-authored-by: Luca Koroll <contact@lucakoroll.de>
SathyaBhat added a commit that referenced this pull request May 9, 2020
* add test, handle Youtube quota expiry better (#68)

* add sigint handler to handle Ctrl+C better

* major version bump due to Python version change (now needs 3.6+)

* move sentry around so that github action doesn;t complain when trying to fetch version for publishing

* move sentry around

* oops, moved signal to wrong place

* Add HTML Scraping functionality

* Update requirements.txt to fit HTML Scrape

* change the log structure

* some additional error handling when scraping fails

* tests for getting link w/ scraping

* update requirements for packaging

* add deepsource

Co-authored-by: Luca Koroll <contact@lucakoroll.de>
SathyaBhat added a commit that referenced this pull request May 10, 2020
* add test, handle Youtube quota expiry better (#68)

* add sigint handler to handle Ctrl+C better

* major version bump due to Python version change (now needs 3.6+)

* move sentry around so that github action doesn;t complain when trying to fetch version for publishing

* move sentry around

* oops, moved signal to wrong place

* Add HTML Scraping functionality

* Update requirements.txt to fit HTML Scrape

* change the log structure

* some additional error handling when scraping fails

* tests for getting link w/ scraping

* update requirements for packaging

* add deepsource

* don't show notice about dev key

* fix typo in youtube dev key env variable

* remove redundant assignment to dev key

* try to go via api only if dev key has been set

* add local cache

spotifydl now saves links to previously scraped URLs to reduce calls to YouTube

* scraper is now the default  option

* fix bug where non-scrape path was applied when it should have been scraped

* update reqs to add peewee

* save cache to homedir, remove negative tests

* merge conflicts

* remove unused imports

* remove scrape argument

* remove unused args

* clean up imports

* pep8 line breaks

* docstrings

* remove validate.py, add later

* make deepsource happy

* skipchecks

Co-authored-by: Luca Koroll <contact@lucakoroll.de>
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

Successfully merging this pull request may close these issues.

1 participant