13 Commits

Author SHA1 Message Date
3cbe18aac0
Fix cves
CVE-2024-34064
CVE-2024-34069
CVE-2024-37891
2024-07-09 13:03:36 +08:00
ad40dd6d6b
update requirements 2024-03-11 09:53:55 +08:00
9564ee30fe
update gevent and update greenlet 2022-11-19 04:24:20 +08:00
6806146450
Fix CVE-2022-29361 2022-10-25 03:52:52 +08:00
Jesus
599a09d7fc
Set exact versions of packages from pip 2022-08-07 01:44:35 +08:00
740aea68f6
[pip]: fix dataclasses version 2021-08-14 23:19:50 -05:00
ee2ef432d8
[pip]: bump packages 2021-08-14 23:13:43 -05:00
ccb3392e1d
Fix gevent dependencie version 2021-04-13 22:50:15 -05:00
ae6bce5edc
Add test dependencies in requirement.txt file 2021-02-24 22:40:54 -05:00
ec6cb3923e
Update requirements.txt 2020-12-29 18:21:54 -05:00
James Taylor
7e5c0bf261 Add stem to requirements.txt 2020-10-25 11:48:18 -07:00
James Taylor
222117143f Finally fix video count on channels accessed through general urls, rather than just channel id.
It was set to a fake value of 1000 previously in order to ensure there would be enough page buttons.
This was because two sequential requests are necessary (one to get the channel id corresponding to the custom url, another to get the number of videos from the "all uploaded videos" playlist, the url for which can be generated from the channel id).

Since Tor has a high latency, I thought at the time that this would be too slow, but in practice it's not too big of a deal.

Introduces cachetools dependency in order to cache the function which gets the number of videos.

The get_channel_id function has also been fixed since the ajax api seems to have been removed.
2019-12-22 18:29:31 -08:00
James Taylor
3d57e14df7 Remove windows python distribution from repo and add requirements.txt 2019-09-06 16:31:13 -07:00