Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix comment replies | James Taylor | 2021-02-26 | 4 | -51/+129 |
| | | | | | | | | | | | | | Comment reply protobuf now requires the channel id of the uploader of the video. Otherwise the endpoint returns 500. Instead of making the protobuf ourselves and passing this data around through query parameters, just use the ctoken provided to us but modify the max_replies field from 10 to 250. Fixes #53 Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | Fix URL | Jesús | 2021-02-25 | 2 | -2/+2 |
| | |||||
* | Change URL repo | Jesús | 2021-02-25 | 2 | -2/+2 |
| | |||||
* | Add badge status CI/CD | Jesús | 2021-02-24 | 1 | -0/+2 |
| | |||||
* | Add test dependencies in requirement.txt file | Jesús | 2021-02-24 | 2 | -0/+38 |
| | |||||
* | Revert "Add .build.yml file" | Jesús | 2021-02-24 | 1 | -12/+0 |
| | | | | This reverts commit 5b611b515a147dbf6a32f7a94b03a8c477e0bba7. | ||||
* | Add test dependencies in requirement.txt file | Jesús | 2021-02-24 | 1 | -0/+11 |
| | |||||
* | Add .build.yml file | Jesús | 2021-02-24 | 1 | -0/+12 |
| | |||||
* | Add tests/__init__.py file | Jesús | 2021-02-24 | 1 | -0/+0 |
| | |||||
* | Fix signature decryption due to new base.js minifier rules | James Taylor | 2021-02-23 | 1 | -7/+10 |
| | | | | | | | | | | YouTube now includes e.g. {"fe": ...} instead of just {fe: ...} in the javascript object entries in the object holding the operation definitions. Fixes #2 Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | TorMgr: Change new identity cooldown to 7 seconds instead of 6 | James Taylor | 2021-02-13 | 1 | -4/+4 |
| | | | | | | Because sometimes a new identity was not being respected Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | yt_data_ext: support richGrid&richItem sometimes used on search | James Taylor | 2021-02-13 | 1 | -1/+3 |
| | | | | | | Some searches have these renderers instead of the usual ones Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | fix missing whitespace | Jesús | 2021-01-31 | 1 | -1/+1 |
| | |||||
* | General theme: reorganize thumbnail background variable | Jesús | 2021-01-26 | 9 | -6/+9 |
| | |||||
* | fetch_url: 429: get new identity regardless of page content | James Taylor | 2021-01-13 | 1 | -3/+1 |
| | | | | | | | | | | | New 429 captcha page doesn't have IP. This new page appears to match the 429 code plus the json of {"redirect": ...} which would be occasionally received when the pbj json endpoint was used in the past. Closes #22 Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | General theme: improve colors | Jesús | 2021-01-11 | 4 | -36/+40 |
| | |||||
* | Light theme: improve colors | Jesús | 2021-01-11 | 1 | -16/+16 |
| | |||||
* | Organize docs | Jesús | 2021-01-10 | 3 | -1/+81 |
| | |||||
* | General theme: fix support 'Content-Security-Policy' with librejs in UXP | Jesús | 2021-01-09 | 1 | -1/+1 |
| | |||||
* | Grey theme: improve thumbnail background | Jesús | 2021-01-09 | 1 | -1/+1 |
| | |||||
* | General theme: improve thumbnail in channel | Jesús | 2021-01-08 | 1 | -0/+3 |
| | |||||
* | General theme: improve thumbnail-img | Jesús | 2021-01-07 | 10 | -31/+12 |
| | |||||
* | General theme: Improve container description | Jesús | 2021-01-01 | 1 | -0/+2 |
| | |||||
* | General theme: Fix missing styles in pagination | Jesús | 2021-01-01 | 6 | -6/+12 |
| | |||||
* | General theme: fix HTML syntax | Jesús | 2021-01-01 | 1 | -1/+1 |
| | |||||
* | General theme: fix style paginator | Jesús | 2021-01-01 | 5 | -13/+17 |
| | |||||
* | General theme: remove unnecessary z-index property | Jesús | 2020-12-31 | 6 | -6/+0 |
| | |||||
* | Improve regex to pep8 | Jesús | 2020-12-31 | 1 | -1/+6 |
| | |||||
* | Update README.md | Jesús | 2020-12-30 | 1 | -0/+1 |
| | |||||
* | General theme: fix syntax W3C markup and add improve 'Published' date | Jesús | 2020-12-30 | 5 | -5/+14 |
| | | | | Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | strip_non_ascii in comments-author-name | Jesús | 2020-12-30 | 3 | -3/+16 |
| | |||||
* | General theme: Add license to missing script in watch.html | Jesús | 2020-12-29 | 1 | -1/+5 |
| | |||||
* | Update requirements.txt | Jesús | 2020-12-29 | 1 | -8/+16 |
| | |||||
* | General theme: Fix script generate for timestamp | Jesús | 2020-12-29 | 1 | -4/+20 |
| | | | | Also add support librejs | ||||
* | General theme: add license and add URL source code in footer | Jesús | 2020-12-29 | 17 | -110/+636 |
| | |||||
* | util: Remove obsolete parse_info_prepare_for_html function | James Taylor | 2020-12-28 | 1 | -9/+0 |
| | | | | | | | | Info parsing is handled by yt_data_extract, and html post-processing is done with util.prefix_urls and util.add_extra_html_info Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | Remove obsolete uppercase_escape function | James Taylor | 2020-12-28 | 2 | -8/+2 |
| | | | | | | | This function was only necessary with the old ajax format, which was removed in 4d7bba92eb62518e2273d030235214f4a7605444 Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | TorManager: Add delay before subsequent new identity retries | James Taylor | 2020-12-25 | 1 | -1/+18 |
| | | | | | | | | | | | | | | | The request can be retried immediately after the first new identity, but if we do more new identities, we have to wait for at least 6 seconds before doing the request, otherwise it won't be done on a new ip based on my experiments. Potential issue: If after getting third new identity, request takes > 12 seconds (since timeout is 15) and returns 429, then the Tor Manager will let it do a 4th try instead of giving up (meaning request is taking forever from user's perspective). Should be a very rare occurence however. Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | Fix permalink style | Jesús | 2020-12-22 | 1 | -1/+1 |
| | | | | Fixed the link box overflow | ||||
* | Fix permalink style | Jesús | 2020-12-22 | 1 | -1/+1 |
| | | | | Fixed the link box overflow | ||||
* | pep8 | Jesús | 2020-12-21 | 1 | -1/+1 |
| | |||||
* | pep8 | Jesús | 2020-12-21 | 1 | -21/+43 |
| | |||||
* | HACKING.md: Fix URL and name O.S. | Jesús | 2020-12-21 | 1 | -1/+1 |
| | |||||
* | Include watch_headers in get_video_info so error lang is english | James Taylor | 2020-12-21 | 1 | -1/+3 |
| | | | | | | | | | | | e.g. if the error in get_video_info is "Video unavailable" must include the Accept-Language header (which we have in watch_headers) in order to get an English error message. Otherwise we get the language of the Tor exit node region Example: https://youtu.be/aaaaaaaaaaa Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | request_comments: remove obsolete retrying code | James Taylor | 2020-12-21 | 1 | -11/+6 |
| | | | | | | | | The issue that code was working around happened with an older request format (the ajax format) that was removed. The issue does not happen with the newer polymer format. Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | Add coding guidelines, architecture overview, and proto_debug | James Taylor | 2020-12-21 | 3 | -2/+556 |
| | | | | | | proto_debug is the toolchain for reverse engineering protobuf Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | video_comments: print error string in console | James Taylor | 2020-12-21 | 1 | -2/+4 |
| | | | | Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | Fix exception when video comments disabled and blank comments info | James Taylor | 2020-12-21 | 1 | -1/+1 |
| | | | | | | | e.g. happens on vid where comments are disabled if comments disabled in settings since the comments info object is just {} Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | Merge branch 'master' of libregit.org:heckyel/yt-local | Jesús | 2020-12-21 | 1 | -1/+5 |
|\ | |||||
| * | Prevent text overflow in comments | Jesús | 2020-12-21 | 1 | -1/+5 |
| | |