|
1 | | -# Chirpy Starter |
| 1 | +# UserAgenter |
2 | 2 |
|
3 | | -[][gem] |
4 | | -[][mit] |
| 3 | + |
5 | 4 |
|
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) |
10 | 6 |
|
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` |
13 | 8 |
|
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. |
16 | 10 |
|
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() |
23 | 69 | ``` |
24 | 70 |
|
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. |
27 | 71 |
|
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 | +``` |
29 | 83 |
|
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. |
32 | 84 |
|
33 | | -## Installation |
| 85 | +Generated Random Safari User Agent. |
34 | 86 |
|
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 |
37 | 89 |
|
38 | | -Then clone it to your local machine and run: |
| 90 | +# User Agent Class |
| 91 | +ua = UserAgent() |
39 | 92 |
|
40 | | -```console |
41 | | -$ bundle |
| 93 | +# Safari User Agent |
| 94 | +random_safari_agent = ua.RandomSafariAgent() |
42 | 95 | ``` |
43 | 96 |
|
44 | | -## Usage |
45 | 97 |
|
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. |
47 | 111 |
|
48 | | -## Contributing |
| 112 | +```python |
| 113 | +from UserAgenter import UserAgent |
49 | 114 |
|
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() |
52 | 117 |
|
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 | +``` |
54 | 168 |
|
55 | | -This work is published under [MIT][mit] License. |
| 169 | +Programmer and owner : [Pymmdrza](https://github.com/Pymmdrza) |
56 | 170 |
|
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) |
0 commit comments