Update replace.py
fix bad internal link https://fmhy.pages.dev/videopiracyguide-tools#youtube-download found in https://fmhy.pages.dev/internet-tools#youtube-tools
This commit is contained in:
parent
bfe2bd7f15
commit
a08a65da31
4
.github/replace.py
vendored
4
.github/replace.py
vendored
@ -57,8 +57,6 @@ def replace_pages(text):
|
|||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/ai', '/ai', text)
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/ai', '/ai', text)
|
||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/adblock-vpn-privacy', '/adblockvpnguide', text)
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/adblock-vpn-privacy', '/adblockvpnguide', text)
|
||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/android', '/android-iosguide', text)
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/android', '/android-iosguide', text)
|
||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/video', '/videopiracyguide', text)
|
|
||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/audio', '/audiopiracyguide', text)
|
|
||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/games', '/gamingpiracyguide', text)
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/games', '/gamingpiracyguide', text)
|
||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/reading', '/readingpiracyguide', text)
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/reading', '/readingpiracyguide', text)
|
||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/download', '/downloadpiracyguide', text)
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/download', '/downloadpiracyguide', text)
|
||||||
@ -72,6 +70,8 @@ def replace_pages(text):
|
|||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/video-tools', '/video-tools', text)
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/video-tools', '/video-tools', text)
|
||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/audio-tools', '/audio-tools', text)
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/audio-tools', '/audio-tools', text)
|
||||||
|
|
||||||
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/video', '/videopiracyguide', text) #This replace has to go after the /video-tools replace
|
||||||
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/audio', '/audiopiracyguide', text) #This replace has to go after the /audio-tools replace
|
||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/linux', '/linuxguide', text)
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/linux', '/linuxguide', text)
|
||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/non-eng', '/non-english', text)
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/non-eng', '/non-english', text)
|
||||||
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/misc', '/miscguide', text)
|
text = re.sub('https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/misc', '/miscguide', text)
|
||||||
|
Loading…
Reference in New Issue
Block a user