Skip to content

Commit 6eb2ad1

Browse files
committed
v5.0.0
1 parent 5ab99f6 commit 6eb2ad1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+18
-8570
lines changed

.vs/VSWorkspaceState.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

.vs/slnx.sqlite

-3.43 MB
Binary file not shown.

.vs/v5.x/v15/.suo

-21 KB
Binary file not shown.

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
<<<<<<< HEAD
2-
# PyWebCopy &copy; 4
3-
=======
41
# PyWebCopy &copy; 5
5-
>>>>>>> v5.0.0
62

73
`Created By : Raja Tomar`
84
`License : MIT`
@@ -46,7 +42,7 @@ You should always check if the pywebcopy is installed successfully.
4642
```python
4743
>>> import pywebcopy
4844
>>> pywebcopy.__version___
49-
4.x
45+
5.x
5046
```
5147

5248
Your version may be different, now you can continue the tutorial.
@@ -76,6 +72,15 @@ save_website(
7672
)
7773
```
7874

75+
### 1.2.1 Running Tests
76+
Running tests is simple and doesn't require any external library.
77+
Just run this command from root directory of pywebcopy package
78+
79+
80+
```shell
81+
$ python -m unittest pywebcopy.tests
82+
```
83+
7984
### 1.2.2 Webpage() object
8085

8186
```Python
@@ -437,6 +442,11 @@ if you want, you can help in generating suitable `documentation` for these undoc
437442

438443
## 1.6 Changelog
439444

445+
### [version 5.x]
446+
447+
- Optimization of existing code, upto 5x speed ups in certain cases
448+
- Removed cluttering, improved readability
449+
440450
### [version 4.x]
441451

442452
- *A complete rewrite and restructing of core functionality.*

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
pywebcopy.DEBUG = True
2121
# page_url = 'https://google.com/'
2222
page_url = 'https://www.w3schools.com/'
23-
# page_url = 'http://providenceri.iqm2.com/Citizens/Default.aspx'
23+
2424
download_folder = os.path.join(os.getcwd(), 'saved')
2525

2626
'''
@@ -110,7 +110,7 @@
110110

111111
# method 2:
112112

113-
pywebcopy.save_webpage(page_url, download_folder)
113+
pywebcopy.save_website(page_url, download_folder)
114114

115115

116116
print("Execution time : ", time.time() - t)

build/lib/pywebcopy/__init__.py

Lines changed: 0 additions & 117 deletions
This file was deleted.

build/lib/pywebcopy/__main__.py

Lines changed: 0 additions & 62 deletions
This file was deleted.

build/lib/pywebcopy/config.py

Lines changed: 0 additions & 122 deletions
This file was deleted.

0 commit comments

Comments
 (0)