Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

rss to a torrent

Name: Anonymous 2012-11-24 21:52

Hello [spoilers]/prog/[/spoilers]

I am doing a program that check a rss feed for [spoilers]anime[/spoilers], does a regex match on the title, and download the torrent if it matches and opens it with a BT client.

The thing is that, in order for make this program more general, it should be able to download torrents from feeds from different pages and every page uses it own way.

nyaaTorrent has a link
kat.ph has a mediaFile on each rssitem with the torrent
thePirateBay only magnets

I don't want to end with a million definions for each page. But i don't have an idea of what to do. it currently works only for nyaaTorrent. any idea?

Name: Anonymous 2012-11-24 21:56

Perhaps match any attributes or element bodies that end in .torrent or begin with magnet: ?

This would break if some sites do links like  http://example.com/goatse.torrent?bullshit=here, but it's a start.

Name: Anonymous 2012-11-24 22:00

>>2
you reminded me of a library for generic programming on my language.
I think that is the strong idea. but yeah would break on the cases you described

Name: Anonymous 2012-11-24 22:14

today's business solution: anal recursive optimisations

Name: Anonymous 2012-11-24 22:15

implement it you tosser

Name: Anonymous 2012-11-24 22:21

[spoilers]/prog/[/spoilers]
Trying too hard, fagshit.

Name: Anonymous 2012-11-24 22:24

>>6
oh noes somebody on the internet thinks I am idiot
Mā īkedo~

Name: Anonymous 2012-11-24 22:32

Just download your badly animated crap manually, lazy fagstorm.

Name: Anonymous 2012-11-24 22:38

Romaji considered harmful.

Name: Anonymous 2012-11-24 22:51

>>8
heh. I bet you modify you images converting them to .bmp and then editing them with an hex editor right?

Name: Anonymous 2012-11-24 22:52

>>9
W H I T U  P I G G U~

Name: ishigiggity 2012-11-25 1:11

rssclient http://mywaifu.org | cut -d: -f2 | sed 's/\/\//' | fetch > $1.tor && bitclient $1.tor

Or
awk

Name: Anonymous 2012-11-25 6:44

[spoilers]/prog/[/spoilers]
Trying too hard to fit in.

Name: Anonymous 2012-11-25 11:39

>>13
I already said that, fagstorm

Name: Anonymous 2012-11-25 12:06

>>12
le epic memes /g/ro

Name: Anonymous 2012-11-25 13:11

ᒑ镧薘䍠䈙】䆉蝈葢儧場⎙搣䍵㕥梈䘠枈鈈⢂焉ᙴɐ䍹ĕ≅㜨⑶ᑶᙀ醅ᆈ鈳靆җ№葄␒蝗琀䚕玈。袓艤֗牶と⥃ᥦᥡ熔茡⍦腒攡适䔹ᘠ脀啶ᑳ鐖愇璔uㄙ᥹ᚔᙕ㙙愐蕄搗隈⁳ᕓ璈➉莀♦ቔ❩页愤錅㠘荹䀉ܷ褒靥շ㈓ ℘㈘态匃喔墔ቄ䆔ࡄↇ䑆璄❆ቔ砕馒餐ࢃ抅ճ茄ㄩ㠆ᅉ䘩荵ͷ襤➑礰԰ᐩ收傔衦←悘䌓圱⥃㥘㚇㤖耔匩㜠䖅㍗硔≈ᄒ椤घ☦ࡐ扆㘳嘰ᡒ邕蜸㉠螀頖䦅牅搇茨䠩锔啕蘥̦❃愕舱ᝦ偧㐥ا睥Ńⅹ妉㕐ኄ鎇䍐猣瑵坉膙瑔ᥳ㘄㚘ᕠ⅄蠩䄓碗⡅饁☸昩偠用舂ܢ⌓馁蔇℃ኘ頣♧牘虲㉙灡坨脠虧䐵Շ㈵憈ᥒ单犉瑠֒␳酨煒梂㙵坘靂戓ᐈ愈⑰收∑偢扈项⡧В饉瀄蠈䌸匹酂ᐆ╉ऀ倶†怕䁨剰ᅈ葇䤕坓牁劙危朐嘠钆艳椨㌸斒艃栤蝆ᙒ⊔ⅅ⒘錉ࠣ艕ᚖ褣䠂慈瀑癵❓酁᥆祄ш倅䆁阐▗芔ㅧ❶䈓性鑢萲枘bݥ࠙蠇ሳ┥朐遅p頗₈䠆虅蘙攸獩晓蘆᜵攇桄Ԥ杦ᘹ逄陘㌓᠀夷ጕ㘖ᝡ梗†蒔蒆錈ទㅡ㙡⡐Ņ፧堸ऴՃօ⊖猠┗塢䥂鄇葂錃ၘ䠶Ѥ搑极攇䑴睲╱呴煉ጣ甧鉸㜐ᒈ焧䅄顇刐鍐㌵⎅牂ճ鈢䈃攡捆㔑ㄐ荇膉聐爅艗腖禄爦琑鈑Ȓ啠虵ᡄᦁ冖皆㔂霢攡ᠱ虸蕱㔂ࢄ㜀茇霡Γ鐑瑅䄙⢙梈㜷ᕇ杙⦈恄အ⌔䉑皖ㄣ舳ᑒ蜤⠁ဥ癤昐祦墙梄覀㔅愨ᡓ锕㌁阤颇搲包镈垁蠵蠡圢⁙⤐顣ጹ㈃〈戹畆ጠ㍂䔑挔荁獷瀒礨⁦ᄲ萡⠩褄ठ眙酳攴霅☷ء㥐匠照摔㙦ባㅒᆉʂ

Name: Anonymous 2012-11-25 13:22

>>16
wut

Name: Anonymous 2012-11-25 13:36

榑㍕䠴脙蕆塒鈔桗ᑥ灃顅ȃቴ璅G㥳栰ᘃ卲枓⡃塩ڃᕉㅗ阅ᙐ蔄ᑠ݁㕶ᤑ礘⍈錀٧掖牥萤霸疕萱联䈈熅葥⑅ᅦ鈐䉕ご࠸䄑⑵䈰芄朴㎇霗㍘䅉䜢癥䀗䈣奄癸瘁怑㈠獨瑢䉡㥔䙩ٓᕢ圗䞙ᑉ蠔ᐩ㢈㍠䥕馁垂㥈攩ͧ颓吷㌢啲椅蝐鞁➔䁦⌃改顉㔩㙧鄵覄允銔㞓╥┨褖靅唠艳嘕暈ቦ舙㆘荳掂ࠢ顁㑒璕梔㤄䤖邅儈靨鑸ↆ奘⁰䦂䀥昹嘁՘ሄ倱㎖儰㔡ፇ՗̥⁈隃桹榃鉓㐩ᢄ⑘蚀瞓䦖䅰鞀⤱皀爆斖䢒䥔瑓猘备爐㖗灠ㅔ㞂䠐धሡॕ瘷䕈鄇憑፤䑴皑萵聆猲蒅䙱杵⁰㞘咇隀䕑茹䖔獵剔瑹ᔀ靵㔘蚉ሆ㠙܅㥠栗㊁蠲᠁鑦厂甴┗奶ܹ✨砨锖蘁摩啲椈䄧偠桘餧Գ䑐艱硕ሸ瞒ŀ顲䑵ᜒ∡攦噗ᥴ栰蘳鈥㚕蒇顕晙㥃舠敨蚕ㅀᐥ悔劔酠␘އ剄၅㦘ᐢ攓Ⅸ坅㠒托̷襠搳噉ʆኅ坧㦁焂䙃捂散ƅㄣ䎄蘔眡ၐ〙鍧ↅՈ❆剔ᔖ饂ᔅ艑蜲嚑剃厓Ա靱腆䖐Xㅁ…椩㤆蝙㥦醘㔙䔳㠣″㥆䉄襕㥂ᒗㅉ戓研靶脁䈙妅ʇ攄咖じ⠥G㌰ေ啕靀厘划䤙鑈癳嘄憔掆⡤∦锘吩㔒鄴悄䦈㌹ㅂ靲船ᘗܠ萀㆖蚁࢔ᑢ呲U㐔䌓㌶摸陗䠸摉䝲如鄓境摨捣㉲撂䊗㑠⡤餙Ň虹猅▇嘔䥱顦坨慒ᢖ㆕㆗㈁匳饂覄㞄ㆉ卆蝨⊈蠈攵硸蒃⑅膂猃ᤠၴ灡٩鐵╶㉦堓酡ݙ摙錩琦萢钐ᔓ獒顥朣䤉٤㕰蠥ᔅ愙虆ᔔW 葂掘暕㕅䅑Ħሲ䘒̦㜗ᘡ聀ࡕ圥傕楀ၤ愤䒐㜰琴ᖑ␔䄔䐖嘕夢䅘䌹脙ᙹ愅桩䥵捇吕奦楉Η㌳蕢电䍑⢂遲ᖉ⍩䀥増„䅶॔

Name: Anonymous 2012-12-11 4:17

>>14
What storm?

Don't change these.
Name: Email:
Entire Thread Thread List