Skip to content

Instantly share code, notes, and snippets.

@eigenpaul
Forked from nikivdev/YouTube-following.md
Created June 6, 2022 12:57
Show Gist options
  • Save eigenpaul/0a58d2ccb0c16d96cde88d8c16fd9b38 to your computer and use it in GitHub Desktop.
Save eigenpaul/0a58d2ccb0c16d96cde88d8c16fd9b38 to your computer and use it in GitHub Desktop.

Revisions

  1. @nikivdev nikivdev revised this gist Jun 2, 2022. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions YouTube-following.md
    Original file line number Diff line number Diff line change
    @@ -19,6 +19,8 @@ On this page: https://www.youtube.com/feed/channels

    Script gotten from [Telik](https://github.com/agentcooper/Telik) app.

    ### Channels

    - [1C Entertainment](https://www.youtube.com/user/1CComp)
    - [1k](https://www.youtube.com/channel/UCu6A4xmskSOY_wPVOk6I3AA)
    - [2Do for iOS, Mac and Android](https://www.youtube.com/user/The2DoApp)
  2. @nikivdev nikivdev revised this gist Jun 2, 2022. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion YouTube-following.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    Accounts I follow on YouTube. Got it from running below script:
    ## Accounts I follow on YouTube

    Got it from running below script:

    ```javascript
    let markdown = Array.from(document.querySelectorAll("ytd-channel-renderer"))
  3. @nikivdev nikivdev revised this gist Jun 2, 2022. 1 changed file with 18 additions and 1 deletion.
    19 changes: 18 additions & 1 deletion YouTube-following.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,21 @@
    Accounts I follow on YouTube. Got from https://www.youtube.com/feed/channels
    Accounts I follow on YouTube. Got it from running below script:

    ```javascript
    let markdown = Array.from(document.querySelectorAll("ytd-channel-renderer"))
    .map((item) => ({
    title: item.querySelector("#text-container").textContent.trim(),
    url: item.querySelector("#main-link").href,
    }))
    .map(({ title, url }) => `- [${title}](${url})`)
    .join(String.fromCharCode(10));

    document.write("Your clipboard now contains the list of your YouTube subscriptions.");
    copy(markdown);
    ```

    On this page: https://www.youtube.com/feed/channels

    Script gotten from [Telik](https://github.com/agentcooper/Telik) app.

    - [1C Entertainment](https://www.youtube.com/user/1CComp)
    - [1k](https://www.youtube.com/channel/UCu6A4xmskSOY_wPVOk6I3AA)
  4. @nikivdev nikivdev renamed this gist Jun 2, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. @nikivdev nikivdev created this gist Jun 2, 2022.
    3,292 changes: 3,292 additions & 0 deletions YouTube following
    3,292 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.