kone
소미소프트

소미소프트

RJ코드 추출해서 클릭하면 바로 이동되는 파이썬 코드

04/15/2026, 11:55:25
유틸
8729 views · 4 likes

방주 올라오는 거 하나씩 입력하기 귀찮아서 만든 코드

필요 프로그램: 파이썬

필요 브라우저: 크롬


1

파일 실행



1

링크가 추출된 사진

저기서 클릭하면 바로 dlsite나 getchu, steam으로 넘어감


import tkinter as tk
from tkinter import scrolledtext, messagebox
import re
import webbrowser

class MultiLinkGenerator:
def __init__(self, root):
self.root = root
self.root.title("링크 생성기")
self.root.geometry("850x700")

self.custom_font = ("Gmarket Sans TTF Medium", 16)

self.label = tk.Label(root, text="코드 입력:", font=self.custom_font)
self.label.pack(pady=15)

self.input_area = scrolledtext.ScrolledText(root, height=8, width=60, font=self.custom_font)
self.input_area.pack(pady=5, padx=20)

self.btn_convert = tk.Button(root, text="모든 링크 추출 및 생성", command=self.extract_and_generate,
bg="#28a745", fg="white", font=self.custom_font, padx=20)
self.btn_convert.pack(pady=15)

self.result_frame = tk.Frame(root)
self.result_frame.pack(fill="both", expand=True, padx=20, pady=10)

self.scrollbar = tk.Scrollbar(self.result_frame)
self.scrollbar.pack(side="right", fill="y")

self.listbox = tk.Listbox(self.result_frame, yscrollcommand=self.scrollbar.set, font=self.custom_font, width=60)
self.listbox.pack(side="left", fill="both", expand=True)
self.scrollbar.config(command=self.listbox.yview)

self.listbox.bind('', self.open_browser)

self.status = tk.Label(root, text="somisoft.", bd=1, relief=tk.SUNKEN, anchor=tk.W, font=("Gmarket Sans TTF Medium", 16))
self.status.pack(side=tk.BOTTOM, fill=tk.X)

def extract_and_generate(self):
raw_text = self.input_area.get("1.0", tk.END)
codes = sorted(list(set(re.findall(r'(RJ\d+|ST\d+|GC\d+)', raw_text))))

self.listbox.delete(0, tk.END)

if not codes:
messagebox.showinfo("알림", "코드 미발견")
return

for code in codes:
prefix = code[:2]
num = code[2:]

if prefix == "RJ":
url = f"https://www.dlsite.com/maniax/work/=/product_id/{code}.html"
elif prefix == "ST":
url = f"https://store.steampowered.com/app/{num}"
elif prefix == "GC":
url = f"https://www.getchu.com/sp/soft.phtml?id={num}"
else:
continue

self.listbox.insert(tk.END, f"[{prefix}] {url}")

self.status.config(text=f"총 {len(codes)}개의 링크 생성 완료.")

def open_browser(self, event):
selection = self.listbox.curselection()
if selection:
full_text = self.listbox.get(selection[0])
url = full_text.split("] ")[1] if "] " in full_text else full_text
self.status.config(text=f"🌐 브라우저 이동: {url}", fg="green")
webbrowser.open(url)

if __name__ == "__main__":
root = tk.Tk()
app = MultiLinkGenerator(root)
root.mainloop()


코드 복사해서 메모장으로 붙여넣기 후 py 파일로 저장

4
1 comment
다키스트 던전 Anaertailin 몬스터 컬렉션/NPC NSFW 모음
유틸
삐뉴
07/28/25 10991 27
미리보기 관련 유저스크립트
유틸
cloud67p
07/28/25 2494 3
Base64 링크 자동번역 확장 프로그램
유틸
blacklink
07/25/25 6094 15
카린 전용치트 Karryn's Prison 전용치트 ver1.4d
유틸
4HHHH
07/22/25 18525 22
이제 다운받은 망가도 히토미를 보듯이!
유틸
blacklink
07/21/25 8366 17
RPG MV 치트 플러그인 개조 버전 v2.1
유틸
4HHHH
07/19/25 21641 30
[노모이미지파일만] 카바씨네의 즐거운 투병 생활UC
유틸
미스터장
07/17/25 9027 23
goodbyedpi
유틸
unkown453645
07/15/25 6087 23
mpv(영상플레이어)
유틸
unkown453645
07/15/25 4327 9
로케일 에뮬
유틸
unkown453645
07/15/25 4712 15
아랄트랜스
유틸
unkown453645
07/15/25 3857 12
투투컨
유틸
unkown453645
07/15/25 4398 11
간단한 자동 RJ/VJ 코드 링커
유틸
traffica9
07/15/25 4393 7
webp -> jpg 이미지 변환기
유틸
anaweak
07/15/25 3213 13
루저메이커 뷰지 모델링
유틸
vneldzhffk
07/14/25 3921 3
드래곤 콩키스타 스탠딩 일러스트 가슴 흔들림 모드 번역
유틸
미스터장
07/11/25 11265 49
다키스트 세일 기념 NSFW 스킨/모드
유틸
삐뉴
07/11/25 8258 27
시니시스타2 모드 관련 편집 모드툴?
유틸
무슨소리니
07/11/25 5522 13
한여름의 절정 캐릭터 공유2
유틸
mola245
07/10/25 11254 30
요즘 애용하고있는 랜덤 파일 선택기
유틸
skdyd
07/07/25 4418 13
한여름의 절정 공홈에서 퍼온 캐릭터카드
유틸
ㅇㅇ
07/05/25 7841 15
MaidenSnowEve 메이든스노우이브 어느 전야제, 보이스팩 + 양덕모드
유틸
eyjafjalia
07/04/25 5232 13
[2026-01-11] 히토미 다운로더 코네용
유틸
kts
07/03/25 22432 66
Sexbound(스타바운드)통팩 V0.2 ,Lustiest Lair 1.6 메가-커스텀 팩(2025.09.30까지)
유틸
파에톤1호팬
07/02/25 15036 24
[업뎃] base64 자동 복호화 1.4.15
유틸
arcjay
07/01/25 18690 35
개념글 앞에 ⭐️ 붙이기 스크립트
유틸
963
06/30/25 4029 13
[복구]+@ 시니시스타 2 모드 모음(1.07)
유틸
sims9876
06/29/25 38139 39
웨일 브라우저 로컬 저장소 이미지 번역용 로컬 서버
유틸
LRMGC
06/29/25 3737 10
구버전 알만툴 게임에 더 나은 전체화면 적용 시키는 유틸리티
유틸
jpjp112
06/22/25 4886 11
[업뎃] base64 자동복호화
유틸
arcjay
06/15/25 16217 29