Skip to content

Commit 4ca0986

Browse files
committed
update
1 parent 09ca00f commit 4ca0986

File tree

3 files changed

+355
-54
lines changed

3 files changed

+355
-54
lines changed

README.md

Lines changed: 150 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,171 @@
1-
# Chirpy Starter
1+
# UserAgenter
22

3-
[![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy)][gem] 
4-
[![GitHub license](https://img.shields.io/github/license/cotes2020/chirpy-starter.svg?color=blue)][mit]
3+
![User Agenter Generated User agent and scrap New Proxy](https://avatars.githubusercontent.com/u/170011502?s=200&v=4 'User Agenter Generated User agent and scrap New Proxy')
54

6-
When installing the [**Chirpy**][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders
7-
`_data`, `_layouts`, `_includes`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file
8-
from the theme's gem. If you have ever installed this theme gem, you can use the command
9-
`bundle info --path jekyll-theme-chirpy` to locate these files.
5+
## Generated Random User Agent Without Repeat and Scrap Proxy (Auto update)
106

11-
The Jekyll team claims that this is to leave the ball in the user’s court, but this also results in users not being
12-
able to enjoy the out-of-the-box experience when using feature-rich themes.
7+
generated random user agent for any web browser and os `firefox` , `chrome` , `edge`, `opera` and `safari` & `android`
138

14-
To fully use all the features of **Chirpy**, you need to copy the other critical files from the theme's gem to your
15-
Jekyll site. The following is a list of targets:
9+
Scrap New Update Proxy with `http`, `socks4` and `sock5` type . all proxy address auto update per hour after request.
1610

17-
```shell
18-
.
19-
├── _config.yml
20-
├── _plugins
21-
├── _tabs
22-
└── index.html
11+
all proxy list use : [ProxyScraper/ProxyScraper](https://github.com/ProxyScraper/ProxyScraper 'proxy scraper')
12+
13+
---
14+
15+
### Install With PIP
16+
17+
Windows :
18+
19+
```bash
20+
pip install UserAgenter
21+
```
22+
23+
Linux & Mac :
24+
25+
```bash
26+
pip3 install UserAgenter
27+
```
28+
29+
30+
---
31+
### Use User Agent Generator
32+
33+
generated random user agent any Type.
34+
35+
```python
36+
from UserAgenter import UserAgent
37+
38+
# User Agent Class
39+
ua = UserAgent()
40+
41+
# Generated Random User Agent
42+
random_any_agent = ua.RandomAgent()
43+
44+
```
45+
46+
Generated Random Firefox User Agent.
47+
48+
```python
49+
from UserAgenter import UserAgent
50+
51+
# User Agent Class
52+
ua = UserAgent()
53+
54+
# Firefox User Agent
55+
random_firefox_agent = ua.RandomFirefoxAgent()
56+
57+
```
58+
59+
Generated Random Chrome User Agent.
60+
61+
```python
62+
from UserAgenter import UserAgent
63+
64+
# User Agent Class
65+
ua = UserAgent()
66+
67+
# Chrome User Agent
68+
random_chrome_agent = ua.RandomChromeAgent()
2369
```
2470

25-
To save you time, and also in case you lose some files while copying, we extract those files/configurations of the
26-
latest version of the **Chirpy** theme and the [CD][CD] workflow to here, so that you can start writing in minutes.
2771

28-
## Prerequisites
72+
Generated Random Internet Explorer (edge) User Agent.
73+
74+
```python
75+
from UserAgenter import UserAgent
76+
77+
# User Agent Class
78+
ua = UserAgent()
79+
80+
# Edge User Agent
81+
random_edge_agent = ua.RandomEdgeAgent()
82+
```
2983

30-
Follow the instructions in the [Jekyll Docs](https://jekyllrb.com/docs/installation/) to complete the installation of
31-
the basic environment. [Git](https://git-scm.com/) also needs to be installed.
3284

33-
## Installation
85+
Generated Random Safari User Agent.
3486

35-
Sign in to GitHub and [**use this template**][use-template] to generate a brand new repository and name it
36-
`USERNAME.github.io`, where `USERNAME` represents your GitHub username.
87+
```python
88+
from UserAgenter import UserAgent
3789

38-
Then clone it to your local machine and run:
90+
# User Agent Class
91+
ua = UserAgent()
3992

40-
```console
41-
$ bundle
93+
# Safari User Agent
94+
random_safari_agent = ua.RandomSafariAgent()
4295
```
4396

44-
## Usage
4597

46-
Please see the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#documentation).
98+
Generated Random Android User Agent.
99+
100+
```python
101+
from UserAgenter import UserAgent
102+
103+
# User Agent Class
104+
ua = UserAgent()
105+
106+
# Android User Agent
107+
random_android_agent = ua.RandomAndroidAgent()
108+
```
109+
110+
Generated Random Opera User Agent.
47111

48-
## Contributing
112+
```python
113+
from UserAgenter import UserAgent
49114

50-
The contents of this repository are automatically updated when new releases are made to the [main repository][chirpy].
51-
If you have problems using it, or would like to participate in improving it, please go to the main repository for feedback!
115+
# User Agent Class
116+
ua = UserAgent()
52117

53-
## License
118+
# Opera User Agent
119+
random_opera_agent = ua.RandomOperaAgent()
120+
```
121+
122+
---
123+
124+
#### Generated Random User Agent for firefox , chrome , safari , opera , edge and android
125+
126+
```python
127+
from UserAgenter import UserAgent
128+
# class for generate random user agent
129+
agent = UserAgent()
130+
# firefox user agent
131+
firefox = agent.RandomAgent(browser="firefox")
132+
# chrome user agent
133+
chrome = agent.RandomAgent(browser="chrome")
134+
# safari user agent
135+
safari = agent.RandomAgent(browser="safari")
136+
# opera user agent
137+
opera = agent.RandomAgent(browser="opera")
138+
# edge user agent
139+
edge = agent.RandomAgent(browser="edge")
140+
# android user agent
141+
android = agent.RandomAgent("android")
142+
```
143+
144+
145+
### Use Proxy
146+
147+
scrap Random New Proxy
148+
149+
```python
150+
from useragenter import Proxy
151+
152+
proxy_instance = Proxy()
153+
154+
# random proxy any type
155+
random_proxy = proxy_instance.random_proxy()
156+
print("Random Proxy:", random_proxy)
157+
158+
# proxy http type
159+
proxy_list = proxy_instance.get_proxies()
160+
print("Proxy List (http):", proxy_list)
161+
# proxy socks4 type
162+
socks4_proxies = proxy_instance.get_proxies('socks4')
163+
print("Proxy List (socks4):", socks4_proxies)
164+
# proxy socks5 type
165+
socks5_proxies = proxy_instance.get_proxies('socks5')
166+
print("Proxy List (socks5):", socks5_proxies)
167+
```
54168

55-
This work is published under [MIT][mit] License.
169+
Programmer and owner : [Pymmdrza](https://github.com/Pymmdrza)
56170

57-
[gem]: https://rubygems.org/gems/jekyll-theme-chirpy
58-
[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/
59-
[use-template]: https://github.com/cotes2020/chirpy-starter/generate
60-
[CD]: https://en.wikipedia.org/wiki/Continuous_deployment
61-
[mit]: https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE
171+
Website : [Mmdrza.Com](https://mmdrza.com)

_config.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,33 @@ theme: jekyll-theme-chirpy
99
lang: en
1010

1111
# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
12-
timezone:
12+
timezone: America/New_York
1313

1414
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
1515
# ↓ --------------------------
1616

17-
title: Chirpy # the main title
17+
title: UserAgenter # the main title
1818

19-
tagline: A text-focused Jekyll theme # it will display as the sub-title
19+
tagline: Generated Random User Agent in Python # it will display as the sub-title
2020

2121
description: >- # used by seo meta and the atom feed
22-
A minimal, responsive and feature-rich Jekyll theme for technical writing.
22+
Generated Random User Agent Without Repeat and Scrap Proxy (Auto update).
2323
2424
# Fill in the protocol & hostname for your site.
2525
# e.g. 'https://username.github.io', note that it does not end with a '/'.
26-
url: ""
26+
url: "https://useragenter.github.io"
2727

2828
github:
29-
username: github_username # change to your github username
29+
username: Pymmdrza # change to your github username
3030

3131
twitter:
32-
username: twitter_username # change to your twitter username
32+
username: Pymmdrza # change to your twitter username
3333

3434
social:
3535
# Change to your full name.
3636
# It will be displayed as the default author of the posts and the copyright owner in the Footer
37-
name: your_full_name
38-
email: example@domain.com # change to your email address
37+
name: Mohammadreza
38+
email: mmdrza@usa.com # change to your email address
3939
links:
4040
# The first element serves as the copyright owner's link
4141
- https://twitter.com/username # change to your twitter homepage
@@ -86,7 +86,7 @@ pageviews:
8686
# light - Use the light color scheme
8787
# dark - Use the dark color scheme
8888
#
89-
theme_mode: # [light | dark]
89+
theme_mode: dark # [light | dark]
9090

9191
# The CDN endpoint for media resources.
9292
# Notice that once it is assigned, the CDN url
@@ -96,11 +96,11 @@ theme_mode: # [light | dark]
9696
cdn:
9797

9898
# the avatar on sidebar, support local or CORS resources
99-
avatar:
99+
avatar: https://avatars.githubusercontent.com/u/170011502?s=256&v=4
100100

101101
# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
102102
# It can be overridden by a customized `page.image` in front matter.
103-
social_preview_image: # string, local or CORS resources
103+
social_preview_image: https://repository-images.githubusercontent.com/801572881/f81dfc3d-6940-4b12-bd54-a5572228bf4c # string, local or CORS resources
104104

105105
# boolean type, the global switch for TOC in posts.
106106
toc: true
@@ -117,7 +117,7 @@ comments:
117117
issue_term: # < url | pathname | title | ...>
118118
# Giscus options › https://giscus.app
119119
giscus:
120-
repo: # <gh-username>/<repo>
120+
repo: # UserAgenter/userAgenter
121121
repo_id:
122122
category:
123123
category_id:

0 commit comments

Comments
 (0)