Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MShawon committed Feb 1, 2021
2 parents 66e124d + ffbdb0d commit fc85a83
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 1 deletion.
39 changes: 39 additions & 0 deletions .github/workflows/clone.yml
@@ -0,0 +1,39 @@
name: GitHub Clone Count for 14 days at every 24 hours

# Controls when the action will run.
on:
schedule:
- cron: "0 0 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Parse clone count using REST API
run: |
curl --user "${{ github.actor }}:${{ secrets.SECRET_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/traffic/clones \
> clone.json
- name: Add to git repo
run: |
git add .
git config --global user.name "GitHub Action"
git config --global user.email "action@github.com"
git commit -m "Automated clone.json update"
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
7 changes: 6 additions & 1 deletion README.md
Expand Up @@ -4,10 +4,12 @@
<a href="https://github.com/MShawon/YouTube-Viewer/issues?q=is%3Aissue+is%3Aclosed"><img alt="Closed issues" src="https://img.shields.io/github/issues-closed/MShawon/YouTube-Viewer.svg"></a>
<a href="https://github.com/MShawon/YouTube-Viewer/issues?q=is%3Aissue+is%3Aopen"><img alt="Open issues" src="https://img.shields.io/github/issues/MShawon/YouTube-Viewer"></a>
<a href="https://saythanks.io/to/as2robot143@gmail.com"><img alt="SayThanks" src="https://img.shields.io/badge/Say-thanks!-1EAEDB.svg"></a>
</p>
<p align="center">
<a href="https://paypal.me/shawon107"><img alt="Donate" src="https://img.shields.io/badge/Donate-PayPal-green.svg"></a>
<a href="https://github.com/MShawon/github-clone-count-badge"><img alt="GitHub Clones" src="https://img.shields.io/badge/dynamic/json?color=success&label=Clone&query=count&url=https://github.com/MShawon/YouTube-Viewer/blob/master/clone.json?raw=True&logo=github"></a>
</p>


Yb dP dP"Yb 88 88 888888 88 88 88""Yb 888888
YbdP dP Yb 88 88 88 88 88 88__dP 88__
8P Yb dP Y8 8P 88 Y8 8P 88""Yb 88""
Expand All @@ -22,6 +24,9 @@
Simple program to increase YouTube views written in Python.

**Discalimer:** This has been developed for educational purposes only.

**Cons:** Try not to use this script every day. Run this once or twice a week with newer proxies. Guess this will reduce the view decrease issue.

# Requirements
* Python 3.x
* High speed Internet Connection
Expand Down
76 changes: 76 additions & 0 deletions clone.json
@@ -0,0 +1,76 @@
{
"count": 141,
"uniques": 107,
"clones": [
{
"timestamp": "2021-01-18T00:00:00Z",
"count": 7,
"uniques": 7
},
{
"timestamp": "2021-01-19T00:00:00Z",
"count": 7,
"uniques": 7
},
{
"timestamp": "2021-01-20T00:00:00Z",
"count": 11,
"uniques": 7
},
{
"timestamp": "2021-01-21T00:00:00Z",
"count": 8,
"uniques": 7
},
{
"timestamp": "2021-01-22T00:00:00Z",
"count": 12,
"uniques": 11
},
{
"timestamp": "2021-01-23T00:00:00Z",
"count": 9,
"uniques": 8
},
{
"timestamp": "2021-01-24T00:00:00Z",
"count": 16,
"uniques": 13
},
{
"timestamp": "2021-01-25T00:00:00Z",
"count": 10,
"uniques": 8
},
{
"timestamp": "2021-01-26T00:00:00Z",
"count": 14,
"uniques": 13
},
{
"timestamp": "2021-01-27T00:00:00Z",
"count": 7,
"uniques": 5
},
{
"timestamp": "2021-01-28T00:00:00Z",
"count": 5,
"uniques": 5
},
{
"timestamp": "2021-01-29T00:00:00Z",
"count": 11,
"uniques": 11
},
{
"timestamp": "2021-01-30T00:00:00Z",
"count": 16,
"uniques": 10
},
{
"timestamp": "2021-01-31T00:00:00Z",
"count": 8,
"uniques": 6
}
]
}

16 comments on commit fc85a83

@djmvg
Copy link

@djmvg djmvg commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script doesn't work on windows python i installed but i can't run it on windows. Good job

@MShawon
Copy link
Owner Author

@MShawon MShawon commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you mean this doesn't work? Show pictures of errors you have encountered. What python version you installed?

@djmvg
Copy link

@djmvg djmvg commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Speak to me . Go to my profile and you have the page listed there. I assure you that you have such contact .You are doing a good job anyway. And I would like to ask you to contact me, go to my profile and there you have FB contact for me

@djmvg
Copy link

@djmvg djmvg commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python 3.x pip Screenshot https://galaxyfm.de/ssss.png

@MShawon
Copy link
Owner Author

@MShawon MShawon commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just run this
pip install -r requirements.txt

Then try again

@djmvg
Copy link

@djmvg djmvg commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something like this pops up https://galaxyfm.de/1.png

@MShawon
Copy link
Owner Author

@MShawon MShawon commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try this
pip install --upgrade setuptools

if this doesn't work follow this:
benfred/implicit#76

@djmvg
Copy link

@djmvg djmvg commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did as you wrote. I gave the command and again a problem. https://galaxyfm.de/2.png

@MShawon
Copy link
Owner Author

@MShawon MShawon commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to install Microsoft Visual C++ Build Tools
Follow these answers please:
benfred/implicit#76

@djmvg
Copy link

@djmvg djmvg commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And now the problem with that on screan chrome I installed the same as the chromedriver.
And I get such a problem with the python test.py command.
https://galaxyfm.de/3.png

@MShawon
Copy link
Owner Author

@MShawon MShawon commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chromedriver_win32 is this folder empty?

@djmvg
Copy link

@djmvg djmvg commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the browser download is the same as chromedriver and it is in this directory c:\YouTube-Viewer\chromedriver_win32\

@MShawon
Copy link
Owner Author

@MShawon MShawon commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh man did you install Google Chrome in your operating system?

@djmvg
Copy link

@djmvg djmvg commented on fc85a83 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Google Chrome
Version 88.0.4324.146 (Official Version) (64 bit). Windows 10.
chromedrive doesn't have to do this :(

@djmvg
Copy link

@djmvg djmvg commented on fc85a83 Feb 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did everything as shown in the picture.
But I have a question if I have to have anything turned off. Because the script works but doesn't add viewers. I entered the url youtube address but it doesn't add What should I have turned on, what should I turn off because it doesn't add viewers.

@MShawon
Copy link
Owner Author

@MShawon MShawon commented on fc85a83 Feb 8, 2021 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.