This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
sitemap-generator
mirror of
https://github.com/Fincer/sitemap-generator
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
removes anchor links
pysitemap-python-2.7
Kamo Petrosyan
8 years ago
parent
25ca8c0980
commit
1c55865aa9
2 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
pysitemap/crawler.py
+1
-1
setup.py
+ 2
- 0
pysitemap/crawler.py
View File
@ -101,6 +101,8 @@ class Crawler:
def
is_valid
(
self
,
url
)
:
valid
=
False
if
'
#
'
in
url
:
url
=
url
[
:
url
.
find
(
'
#
'
)
]
if
url
in
self
.
visited
:
return
False
if
not
self
.
url
in
url
:
+ 1
- 1
setup.py
View File
@ -13,7 +13,7 @@ setup(
version
=
get_version
(
major
=
0
,
minor
=
3
,
build
=
8
,
build
=
9
,
)
,
packages
=
find_packages
(
exclude
=
EXCLUDE_FROM_PACKAGES
)
,
include_package_data
=
True
,
Write
Preview
Loading…
Cancel
Save