| 00:03:26 | | etnguyen03 quits [Ping timeout: 252 seconds] |
| 00:22:46 | | guicale quits [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in] |
| 00:26:29 | | guicale (guicale) joins |
| 00:28:16 | | fuzzy80211 (fuzzy80211) joins |
| 00:36:06 | | etnguyen03 (etnguyen03) joins |
| 00:42:13 | <Doranwen> | I have stared at this line of code for ages and I cannot figure out why it is not successfully stripping off the referer and replacing all the `%2F` with a slash (it only replaces the first one in each line, despite the 'g' flag): `cat links1.txt | sed 's~%3A~:~g' | sed 's~%2F~/~g' | sed 's~https://www\.livejournal\.com/away\?to=~~g' | sort -u > links2.txt` |
| 00:43:13 | <Doranwen> | `https://www.livejournal.com/away?to=http%3A%2F%2Fcastle-tv.dreamwidth.org%2F` is one of the urls in that file, and it comes out as `https://www.livejournal.com/away?to=http:/%2Fcastle-tv.dreamwidth.org%2F` |
| 00:46:43 | <Doranwen> | As a result, the links I've been dumping to the LJ project have had extras that shouldn't be there - and there are links that *should* be getting into #// and aren't. |
| 00:47:43 | <klea> | huh |
| 00:47:57 | <klea> | echo 'https://www.livejournal.com/away?to=http%3A%2F%2Fcastle-tv.dreamwidth.org%2F' | sed 's~%3A~:~g' | sed 's~%2F~/~g' | sed 's~https://www\.livejournal\.com/away\?to=~~g' gives me `https://www.livejournal.com/away?to=http://castle-tv.dreamwidth.org/` tho? |
| 00:48:35 | <klea> | As in, with it replaced. |
| 00:49:35 | <klea> | And echo 'https://www.livejournal.com/away?to=http%3A%2F%2Fcastle-tv.dreamwidth.org%2F' | sed 's~%3A~:~g' | sed 's~%2F~/~g' | sed 's~https://www.livejournal.com/away?to=~~g' gives me `http://castle-tv.dreamwidth.org/`, is it related to GNUisms? |
| 00:56:40 | | nine quits [Client Quit] |
| 00:56:52 | | nine joins |
| 00:58:35 | <Doranwen> | The bizarre thing is if I echo the link and then put my substitutions in like you said, I get this: `https://www.livejournal.com/away?to=http://castle-tv.dreamwidth.org/` |
| 00:58:54 | <Doranwen> | It doesn't strip the referer like it should but it does do all the substitutions. |
| 01:00:27 | <Doranwen> | But when I process the entire set of html files, where it pulls out every single link and dumps that into the links1.txt, and then runs the command I gave above where it does all the substitutions… along the way it pulls out all the links with livejournal in them, and I get that result I pasted earlier, where the colon was substituted correctly, but only the first %2F is swapped for the slash, and the referer is still there. |
| 01:01:23 | <Doranwen> | This is the full script I'm using: https://github.com/Doranwen/LJ-Processing-Scripts/blob/main/extractlinks.sh |
| 01:02:44 | <Doranwen> | If you want to test it on the same LJ I am, this is it: https://transfer.archivete.am/VHZXf/newbieguide.zip |
| 01:03:07 | <Doranwen> | (Note the instructions regarding the automatic dumping of text files into folders.) |
| 01:03:31 | <Doranwen> | I can't figure out why it behaves differently in the terminal vs. with the files - and why the referer won't get stripped no matter what I do. |
| 01:05:22 | <klea> | hmm |
| 01:09:02 | | Sidpatchy4 quits [Client Quit] |
| 01:09:21 | | Sidpatchy4 (Sidpatchy) joins |
| 01:20:43 | | fuzzy80211 quits [Killed (NickServ (GHOST command used by fuzzy8021))] |
| 01:20:49 | | fuzzy80211 (fuzzy80211) joins |
| 01:36:39 | | wickedplayer494 quits [Ping timeout: 252 seconds] |
| 01:41:57 | | wickedplayer494 (wickedplayer494) joins |
| 01:46:28 | | wickedplayer494 quits [Ping timeout: 252 seconds] |
| 01:47:15 | | wickedplayer494 (wickedplayer494) joins |
| 01:52:04 | | Matthww quits [Quit: Ping timeout (120 seconds)] |
| 01:52:25 | | Matthww joins |
| 02:37:04 | | grill quits [Ping timeout: 252 seconds] |
| 02:37:55 | | grill (grill) joins |
| 02:47:36 | | etnguyen03 quits [Remote host closed the connection] |
| 04:00:07 | | DogsRNice quits [Read error: Connection reset by peer] |
| 04:52:05 | | hexagonwin quits [Ping timeout: 252 seconds] |
| 04:53:59 | | hexagonwin (hexagonwin) joins |
| 05:38:08 | | nine quits [Quit: See ya!] |
| 05:38:20 | | nine joins |
| 05:56:32 | | hexagonwin quits [Ping timeout: 252 seconds] |
| 05:58:29 | | hexagonwin (hexagonwin) joins |
| 06:07:59 | | hexagonwin quits [Ping timeout: 252 seconds] |
| 06:12:31 | | hexagonwin (hexagonwin) joins |
| 06:29:40 | | BornOn420 quits [Quit: Textual IRC Client: www.textualapp.com] |
| 06:40:24 | | BornOn420 (BornOn420) joins |
| 06:40:26 | | BornOn420 quits [Client Quit] |
| 07:20:14 | | flotwig quits [Read error: Connection reset by peer] |
| 07:20:31 | | flotwig joins |
| 07:59:19 | | ThreeHM_ quits [Ping timeout: 268 seconds] |
| 08:00:38 | | ThreeHM (ThreeHeadedMonkey) joins |
| 08:05:19 | | ThreeHM quits [Ping timeout: 252 seconds] |
| 08:06:58 | | ThreeHM (ThreeHeadedMonkey) joins |
| 09:10:43 | | MrMcNugg1 (MrMcNuggets) joins |
| 09:13:31 | | MrMcNuggets quits [Ping timeout: 252 seconds] |
| 09:42:12 | | Goofybally quits [Killed (NickServ (GHOST command used by Goofybally8))] |
| 09:42:18 | | Goofybally joins |
| 09:59:42 | | HackMii quits [Ping timeout: 240 seconds] |
| 10:00:40 | | HackMii (hacktheplanet) joins |
| 10:28:13 | | _null quits [Quit: Connection closed] |
| 10:28:33 | | hexagonwin quits [Remote host closed the connection] |
| 10:30:06 | | _null (_null) joins |
| 10:50:33 | | systwo quits [Remote host closed the connection] |
| 10:50:49 | | systwo (systwi) joins |
| 11:00:16 | | Bleo182600722719623455222011079 quits [Quit: The Lounge - https://thelounge.chat] |
| 11:02:59 | | Bleo182600722719623455222011079 joins |
| 11:13:05 | | hexagonwin (hexagonwin) joins |
| 12:00:41 | | amphitryon joins |
| 12:02:54 | | amphitryon_ quits [Ping timeout: 268 seconds] |
| 12:25:06 | | Sidpatchy4 quits [Ping timeout: 268 seconds] |
| 12:47:05 | | MrMcNuggets (MrMcNuggets) joins |
| 12:48:40 | | MrMcNugg1 quits [Ping timeout: 252 seconds] |
| 12:50:48 | | MrMcNugg1 (MrMcNuggets) joins |
| 12:54:05 | | MrMcNuggets quits [Ping timeout: 268 seconds] |
| 13:44:58 | | systwo quits [Remote host closed the connection] |
| 13:54:45 | | MrMcNuggets (MrMcNuggets) joins |
| 13:57:36 | | MrMcNugg1 quits [Ping timeout: 268 seconds] |
| 15:05:26 | | ^ quits [Ping timeout: 268 seconds] |
| 15:05:52 | | ^ (^) joins |
| 15:08:39 | | Sidpatchy4 (Sidpatchy) joins |
| 15:09:42 | | Sidpatchy4 quits [Client Quit] |
| 15:11:53 | | Sidpatchy4 (Sidpatchy) joins |
| 15:30:15 | | Doran (Doranwen) joins |
| 15:30:15 | | Doranwen quits [Read error: Connection reset by peer] |
| 15:36:16 | | Doran quits [Ping timeout: 268 seconds] |
| 16:01:33 | | nicolas17 quits [Ping timeout: 268 seconds] |
| 16:04:36 | | nicolas17 (nicolas17) joins |
| 16:15:28 | | ThreeHM quits [Ping timeout: 252 seconds] |
| 16:18:55 | | ThreeHM (ThreeHeadedMonkey) joins |
| 16:52:19 | | BornOn420_ (BornOn420) joins |
| 16:55:51 | | BornOn420_ quits [Client Quit] |
| 16:56:07 | | BornOn420 (BornOn420) joins |
| 17:38:47 | <hint> | https://www.tomshardware.com/software/cloud-storage/nine-pbs-loses-access-to-70-years-of-data-after-contracted-cloud-storage-vendor-goes-defunct-public-tv-channel-sues-iron-mountain-data-center-which-hosts-archival-materials-to-ensure-preservation |
| 17:38:59 | | nine quits [Ping timeout: 268 seconds] |
| 17:41:04 | | nine joins |
| 18:02:19 | | DogsRNice joins |
| 19:22:24 | <nulldata> | Fiddler Classic has had its license rug pulled - now restricted to non-commercial use. https://textslashplain.com/2026/08/05/fiddler-in-2026/ |
| 19:51:26 | | Doran (Doranwen) joins |
| 19:51:27 | | Doran is now known as Doranwen |
| 19:54:05 | | MrMcNugg1 (MrMcNuggets) joins |
| 19:55:33 | | MrMcNuggets quits [Ping timeout: 252 seconds] |
| 20:13:17 | | systwo (systwi) joins |
| 20:21:13 | | ThreeHM quits [Ping timeout: 252 seconds] |
| 20:23:16 | | ThreeHM (ThreeHeadedMonkey) joins |
| 20:28:34 | | ThreeHM quits [Ping timeout: 268 seconds] |
| 20:29:36 | | ThreeHM (ThreeHeadedMonkey) joins |
| 20:33:12 | | MrMcNugg1 quits [Client Quit] |
| 21:28:43 | | etnguyen03 (etnguyen03) joins |
| 22:13:24 | | jinn6 quits [Ping timeout: 268 seconds] |
| 23:29:15 | | etnguyen03 quits [Client Quit] |
| 23:36:32 | | BearFortress quits [] |