rsshub
Version:
Make RSS Great Again!
750 lines (744 loc) • 23.7 kB
JavaScript
import "./esm-shims-CzJ_djXG.mjs";
import "./config-C37vj7VH.mjs";
import "./dist-BInvbO1W.mjs";
import "./logger-Czu8UMNd.mjs";
import "./ofetch-BIyrKU3Y.mjs";
import { t as parseDate } from "./parse-date-BrP7mxXf.mjs";
import { t as cache_default } from "./cache-Bo__VnGm.mjs";
import "./helpers-DxBp0Pty.mjs";
import { t as got_default } from "./got-KxxWdaxq.mjs";
import { t as timezone } from "./timezone-D8cuwzTY.mjs";
import { load } from "cheerio";
//#region lib/routes/oilchem/routes.ts
var routes_default = {
"/www": 1,
"/oil": 101,
"/oil/oil/crudeoil": 111,
"/oil/oil/NG": 114,
"/oil/oil/LNG": 660,
"/oil/oil/CNG": 661,
"/oil/oil/PNG": 662,
"/oil/663": 663,
"/oil/oil/ethane": 4028,
"/oil/oil/naphtha": 207,
"/oil/oil/FO": 205,
"/oil/oil/importFO": 443,
"/oil/oil/residualoil": 249,
"/oil/oil/waxoil": 255,
"/oil/oil/slurryoil": 250,
"/oil/oil/shaleoil": 261,
"/oil/550": 550,
"/oil/oil/bunkeroil": 206,
"/oil/521": 521,
"/oil/264": 264,
"/oil/523": 523,
"/oil/258": 258,
"/oil/259": 259,
"/oil/oil/refinedoil": 199,
"/oil/444": 444,
"/oil/445": 445,
"/oil/oil/kerosene1": 538,
"/oil/oil/oil_china_dilian": 4296,
"/oil/oil/petroleumcoke": 203,
"/oil/670": 670,
"/oil/671": 671,
"/oil/673": 673,
"/oil/674": 674,
"/oil/2678": 2678,
"/oil/2679": 2679,
"/oil/oil/oilrawmaterial": 446,
"/oil/oil/mtbe": 208,
"/oil/oil/alkylate": 269,
"/oil/oil/BTXaromatics": 447,
"/oil/oil/kerosene": 125,
"/oil/115": 115,
"/oil/oil/LCO": 241,
"/oil/oil/coaltodieseloil": 242,
"/oil/545": 545,
"/oil/oil/lightcycleoil": 2892,
"/oil/4176": 4176,
"/oil/4178": 4178,
"/oil/4179": 4179,
"/oil/4180": 4180,
"/oil/oil/LPG": 454,
"/oil/455": 455,
"/oil/458": 458,
"/oil/210": 210,
"/oil/oil/etherC4": 456,
"/oil/457": 457,
"/oil/oil/propane": 265,
"/oil/oil/butane": 266,
"/oil/oil/dimethylether": 244,
"/oil/oil/lubricatingoil": 202,
"/oil/oil/baseoil": 197,
"/oil/273": 273,
"/oil/271": 271,
"/oil/272": 272,
"/oil/oil/lineoil": 270,
"/oil/3777": 3777,
"/oil/oil/tendering": 3781,
"/oil/oil/asphalt": 201,
"/oil/oil/heavytrafficasphalt": 280,
"/oil/281": 281,
"/oil/654": 654,
"/oil/oil/paraffinwax": 196,
"/oil/oil/liquidwax": 288,
"/oil/287": 287,
"/oil/oil/chlorinatedparaffin": 285,
"/oil/oil/octadecanoicacid": 291,
"/oil/oil/solventoil": 204,
"/oil/4351": 4351,
"/oil/oil/heavyaromatics": 275,
"/oil/276": 276,
"/oil/278": 278,
"/oil/531": 531,
"/oil/3937": 3937,
"/oil/3938": 3938,
"/oil/3956": 3956,
"/oil/3957": 3957,
"/oil/4256": 4256,
"/oil/4257": 4257,
"/oil/4678": 4678,
"/oil/4258": 4258,
"/oil/4259": 4259,
"/oil/4260": 4260,
"/oil/4261": 4261,
"/oil/4674": 4673,
"/oil/oil/c5": 298,
"/oil/oil/c5petroleumresin": 292,
"/oil/oil/ICPD": 300,
"/oil/oil/isoprene": 294,
"/oil/oil/piperylene": 295,
"/oil/296": 296,
"/oil/535": 535,
"/oil/oil/C5lightcomponents": 2934,
"/oil/oil/c9": 317,
"/oil/oil/c9petroleumresin": 299,
"/oil/oil/DCPD": 480,
"/oil/301": 301,
"/oil/oil/c9hydrogenation": 533,
"/oil/534": 534,
"/oil/oil/oilethylenetar": 4346,
"/oil/4624": 4624,
"/oil/4625": 4625,
"/oil/4626": 4626,
"/oil/4627": 4627,
"/oil/4658": 4658,
"/oil/4063": 4063,
"/oil/oil/gas_station": 3758,
"/plas": 102,
"/plas/plastic/generalpurposeplastics": 322,
"/plas/plastic/pe": 328,
"/plas/plastic/PPgranules": 329,
"/plas/plastic/PPpowder": 330,
"/plas/plastic/pvc": 331,
"/plas/plastic/ps": 332,
"/plas/plastic/eps": 333,
"/plas/plastic/abs": 334,
"/plas/plastic/eva": 335,
"/plas/plastic/PVCPaste": 555,
"/plas/plastic/metallocene": 3707,
"/plas/plastic/POE": 3772,
"/plas/plastic/engineeringplastic": 323,
"/plas/plastic/pa": 336,
"/plas/plastic/pc": 337,
"/plas/plastic/pet": 338,
"/plas/plastic/pmma": 339,
"/plas/plastic/pom": 340,
"/plas/plastic/pbt": 341,
"/plas/plastic/pcabs": 3483,
"/plas/plastic/plasticfilm": 324,
"/plas/plastic/bopp": 514,
"/plas/plastic/bopet": 515,
"/plas/plastic/cpe": 260,
"/plas/plastic/cpp": 516,
"/plas/plastic/plastic_weaving": 398,
"/plas/plastic/agricultural_film": 430,
"/plas/plastic/tape": 2930,
"/plas/plastic/PE_packagingfilm": 3728,
"/plas/plastic/PP_nonwoven_fabric": 3807,
"/plas/plastic/PE_hollow": 4018,
"/plas/plastic/PVC_section": 4208,
"/plas/plastic/PVC_gloves": 4209,
"/plas/4584": 4584,
"/plas/326": 326,
"/plas/517": 517,
"/plas/327": 327,
"/plas/plastic/pepipe": 350,
"/plas/plastic/pppipe": 351,
"/plas/plastic/PVC_skelp": 4210,
"/plas/325": 325,
"/plas/345": 345,
"/plas/346": 346,
"/plas/plastic/R-PET": 347,
"/plas/348": 348,
"/plas/4244": 4244,
"/plas/plastic/olefins": 3537,
"/plas/plastic/ethylene": 3538,
"/plas/plastic/propylene": 3539,
"/plas/plastic/degradable_materials": 4161,
"/plas/plastic/PBAT": 4166,
"/plas/plastic/PLA": 4167,
"/plas/plastic/pbs": 4321,
"/chem": 103,
"/chem/chemical/olefin": 123,
"/chem/chemical/ethylene": 128,
"/chem/chemical/propylene": 124,
"/chem/chemical/butadiene": 129,
"/chem/130": 130,
"/chem/chemical/aromatic": 131,
"/chem/chemical/benzene": 132,
"/chem/chemical/toluene": 133,
"/chem/chemical/xylene": 134,
"/chem/chemical/SM": 135,
"/chem/chemical/PX": 136,
"/chem/chemical/OX": 137,
"/chem/chemical/BTXaromatics": 138,
"/chem/chemical/Hydrogenationbenzene": 139,
"/chem/274": 274,
"/chem/262": 262,
"/chem/chemical/lpa": 672,
"/chem/chemical/jxylene": 2732,
"/chem/2881": 2881,
"/chem/2882": 2882,
"/chem/chemical/Organicalcohol": 141,
"/chem/chemical/ethanol": 142,
"/chem/chemical/DEG": 144,
"/chem/chemical/DMC": 145,
"/chem/chemical/PG": 146,
"/chem/chemical/IPA": 148,
"/chem/3532": 3532,
"/chem/chemical/syntheticfibermaterials": 467,
"/chem/chemical/glycol": 468,
"/chem/chemical/pta": 469,
"/chem/chemical/acrylonitrile": 470,
"/chem/chemical/caprolactam": 471,
"/chem/chemical/methanolanddownstream": 465,
"/chem/chemical/methanol": 140,
"/chem/chemical/HCHO": 220,
"/chem/chemical/DME": 466,
"/chem/593": 593,
"/chem/chemical/methanol_carrene": 3738,
"/chem/3743": 3743,
"/chem/chemical/trichlormethane": 3748,
"/chem/3753": 3753,
"/chem/4356": 4356,
"/chem/4361": 4361,
"/chem/chemical/acrylate": 157,
"/chem/chemical/acroleicacid": 158,
"/chem/159": 159,
"/chem/160": 160,
"/chem/161": 161,
"/chem/162": 162,
"/chem/chemical/mma": 163,
"/chem/575": 575,
"/chem/431": 431,
"/chem/chemical/Acrylicemulsion": 257,
"/chem/2696": 2696,
"/chem/4366": 4366,
"/chem/chemical/plasticizer": 164,
"/chem/chemical/butylalcohol": 526,
"/chem/chemical/phthalicanhydride": 173,
"/chem/chemical/dop": 170,
"/chem/chemical/dotp": 472,
"/chem/chemical/dbp": 171,
"/chem/527": 527,
"/chem/chemical/dinp": 172,
"/chem/174": 174,
"/chem/497": 497,
"/chem/chemical/chem_chlorinatedparaffin": 3986,
"/chem/chemical/Aceticacid": 165,
"/chem/chemical/glacialaceticacid": 178,
"/chem/chemical/Methylacetate": 179,
"/chem/chemical/aceticether": 180,
"/chem/chemical/butylacetate": 181,
"/chem/chemical/Sec-butylAcetate": 182,
"/chem/183": 183,
"/chem/chemical/vinylacetate": 184,
"/chem/chemical/PVA": 185,
"/chem/595": 595,
"/chem/245": 245,
"/chem/chemical/Otherorganic": 166,
"/chem/chemical/aniline": 219,
"/chem/chemical/Propyleneoxide": 217,
"/chem/chemical/carrene": 213,
"/chem/chemical/other_trichlormethane": 214,
"/chem/chemical/dichloroethane": 215,
"/chem/chemical/epoxychloropropane": 221,
"/chem/436": 436,
"/chem/chemical/acetonitrile": 422,
"/chem/chemical/acrylamide": 151,
"/chem/chemical/polyacrylamide": 152,
"/chem/chemical/unsaturationresin": 211,
"/chem/chemical/epoxyresin": 212,
"/chem/3882": 3882,
"/chem/chemical/phenolicketone": 169,
"/chem/chemical/phenol": 234,
"/chem/chemical/acetone": 235,
"/chem/chemical/butanone": 236,
"/chem/chemical/cyclohexanone": 237,
"/chem/chemical/bisphenolA": 238,
"/chem/chemical/mibk": 239,
"/chem/528": 528,
"/chem/3814": 3814,
"/chem/3830": 3830,
"/chem/4376": 4376,
"/chem/4599": 4599,
"/chem/chemical/Inorganicchemical": 168,
"/chem/chemical/causticsoda": 226,
"/chem/chemical/CausticSoda": 529,
"/chem/chemical/sodaash": 227,
"/chem/chemical/liquidchlorine": 228,
"/chem/chemical/hydrochloricacid": 229,
"/chem/chemical/calciumcarbide": 231,
"/chem/chemical/crudesalt": 230,
"/chem/chemical/sulphuricacid": 233,
"/chem/chemical/sulfur": 232,
"/chem/chemical/Titanium": 352,
"/chem/chemical/nitricacid": 572,
"/chem/chemical/hydrogenperoxide": 3733,
"/chem/chemical/c5": 311,
"/chem/chemical/C5petroleumresin": 482,
"/chem/chemical/dicyclopentadiene": 319,
"/chem/chemical/isoprene": 483,
"/chem/chemical/piperylene": 484,
"/chem/441": 441,
"/chem/537": 537,
"/oil/chemical/C5lightcomponents": 2935,
"/chem/chemical/c9": 481,
"/chem/chemical/c9petroleumresin": 318,
"/chem/chemical/shwex": 485,
"/chem/320": 320,
"/chem/chemical/c9hydrogenation": 532,
"/chem/536": 536,
"/chem/chemical/chemicalethylenetar": 4341,
"/chem/4604": 4604,
"/chem/4605": 4605,
"/chem/4606": 4606,
"/chem/4607": 4607,
"/chem/4659": 4659,
"/chem/chemical/Grease": 167,
"/chem/chemical/palmoil": 224,
"/chem/chemical/stearicacid": 225,
"/chem/chemical/glycerol": 3712,
"/chem/chemical/fattyalcohol": 3907,
"/chem/chemical/heavy_aromatics": 3802,
"/chem/4108": 4108,
"/chem/4109": 4109,
"/chem/4111": 4111,
"/chem/4112": 4112,
"/chem/4113": 4113,
"/chem/chemical/EOanddownstream": 3912,
"/chem/chemical/EO_EO": 3917,
"/chem/chemical/EO_PWRM": 3922,
"/chem/chemical/EO_surfactant": 3927,
"/chem/chemical/Ethanolamine": 3932,
"/chem/3951": 3951,
"/chem/3976": 3976,
"/chem/4009": 4009,
"/chem/3946": 3946,
"/chem/chemical/epoxyresinchain": 4301,
"/chem/chemical/bisphenol_A": 4302,
"/chem/chemical/epoxy_chloropropane": 4303,
"/chem/chemical/epoxy_resin": 4304,
"/chem/chemical/chem_alcoholether": 4396,
"/chem/4397": 4397,
"/chem/4398": 4398,
"/chem/4399": 4399,
"/chem/4400": 4400,
"/chem/4594": 4594,
"/rubb": 104,
"/rubb/rubber/Naturalrubber": 126,
"/rubb/rubber/Naturaldryglue": 127,
"/rubb/rubber/Naturallatex": 353,
"/rubb/354": 354,
"/rubb/rubber/butadiene": 493,
"/rubb/4249": 4249,
"/rubb/rubber/syntheticrubber": 355,
"/rubb/rubber/SBRrubber": 361,
"/rubb/rubber/butadienerubber": 360,
"/rubb/rubber/sbs": 362,
"/rubb/rubber/sis": 585,
"/rubb/586": 586,
"/rubb/rubber/syntheticlatex": 363,
"/rubb/rubber/SSBR": 364,
"/rubb/rubber/lowCISrubber": 365,
"/rubb/rubber/Specialrubber": 357,
"/rubb/rubber/butylrubber": 369,
"/rubb/rubber/Nitrilerubber": 370,
"/rubb/rubber/ThreeEPDM": 371,
"/rubb/rubber/neoprene": 372,
"/rubb/rubber/isoprenerubber": 373,
"/rubb/268": 268,
"/rubb/209": 209,
"/rubb/rubber/otherrubber": 657,
"/rubb/rubber/rubberaccessories": 359,
"/rubb/rubber/accelerator": 374,
"/rubb/rubber/antioxidant": 375,
"/rubb/rubber/carbonblack": 376,
"/rubb/565": 565,
"/rubb/rubber/zincoxide": 377,
"/rubb/rubber/stearicacid": 378,
"/rubb/3516": 3516,
"/rubb/3785": 3785,
"/rubb/rubber/Downstream": 494,
"/rubb/rubber/tyre": 358,
"/rubb/495": 495,
"/rubb/496": 496,
"/rubb/rubber/conveyor": 2694,
"/rubb/rubber/Reclaimedrubber": 356,
"/rubb/366": 366,
"/rubb/368": 368,
"/rubb/510": 510,
"/rubb/511": 511,
"/rubb/512": 512,
"/rubb/513": 513,
"/fiber/3665": 3665,
"/rubb/rubber/organosilicon": 4461,
"/rubb/rubber/monomersandintermediates": 4462,
"/rubb/4465": 4465,
"/rubb/4466": 4466,
"/fiber": 105,
"/fiber/fiber/polyester": 486,
"/fiber/fiber/p-xylene": 304,
"/fiber/fiber/pta": 143,
"/fiber/fiber/glycol": 487,
"/fiber/fiber/polyesterchip": 308,
"/fiber/fiber/polyesterbottle": 309,
"/fiber/fiber/polyesterstaplefiber": 307,
"/fiber/fiber/polyesterfilament": 306,
"/fiber/fiber/Polyesterindustrialyarn": 658,
"/fiber/4239": 4239,
"/fiber/fiber/nylon": 488,
"/fiber/fiber/caprolactam": 153,
"/fiber/fiber/PA": 435,
"/fiber/fiber/nylonfiber": 2895,
"/fiber/3861": 3861,
"/fiber/fiber/chone": 4203,
"/fiber/4371": 4371,
"/fiber/4391": 4391,
"/fiber/fiber/acrylicfibres": 489,
"/fiber/fiber/acrylonitrile": 147,
"/fiber/fiber/acrylic": 421,
"/fiber/fiber/acetonitrile": 2729,
"/fiber/fiber/RePolyester": 2702,
"/fiber/fiber/rehollow": 2703,
"/fiber/fiber/ReFiber": 2704,
"/fiber/fiber/RePET": 2876,
"/fiber/3866": 3866,
"/fiber/3966": 3966,
"/fiber/3967": 3967,
"/fiber/fiber/Viscose": 2711,
"/fiber/2712": 2712,
"/fiber/fiber/viscosefibre": 2713,
"/fiber/2714": 2714,
"/fiber/2715": 2715,
"/fiber/2716": 2716,
"/fiber/3892": 3892,
"/fiber/3893": 3893,
"/fiber/fiber/yarn": 2864,
"/fiber/fiber/pure_polyester_yarn": 2865,
"/fiber/fiber/polyester_cotton_yarn": 2866,
"/fiber/2867": 2867,
"/fiber/fiber/polyester_viscose_yarn": 2868,
"/fiber/2869": 2869,
"/fiber/fiber/cotton_yarn": 3877,
"/fiber/fiber/cotton": 3717,
"/fiber/fiber/cotton_cotton_yarn": 3820,
"/fiber/4644": 4644,
"/fiber/fiber/spandex_zone": 3723,
"/fiber/fiber/spandex": 4058,
"/fiber/3825": 3825,
"/fiber/fiber/weaving": 3835,
"/fiber/fiber/daily_dry_cargo": 3871,
"/fiber/fiber/greycloth": 4073,
"/fiber/4495": 4495,
"/fiber/4496": 4496,
"/fiber/4497": 4497,
"/fiber/4498": 4498,
"/fiber/4499": 4499,
"/fiber/4500": 4500,
"/fiber/4501": 4501,
"/fiber/4649": 4649,
"/coalchem": 106,
"/coalchem/coalchem/coal": 400,
"/coalchem/coalchem/anthracitecoal": 475,
"/coalchem/coalchem/powercoal": 473,
"/coalchem/coalchem/cokingcoal": 474,
"/coalchem/coalchem/blowingcoal": 581,
"/coalchem/coalchem/coalcoking": 476,
"/coalchem/coalchem/coke": 401,
"/coalchem/coalchem/semicoke": 404,
"/coalchem/coalchem/crudebenzol": 406,
"/coalchem/coalchem/hightemperaturecoaltar": 403,
"/coalchem/coalchem/mediumtemperaturecoaltar": 405,
"/coalchem/coalchem/ammoniumsulphate": 477,
"/coalchem/coalchem/crudebenzolrefining": 478,
"/coalchem/coalchem/benzene": 410,
"/coalchem/coalchem/hydrogenationtoluene": 407,
"/coalchem/coalchem/hydroxylene": 574,
"/coalchem/coalchem/paraffin": 248,
"/coalchem/coalchem/heavybenzol": 409,
"/coalchem/coalchem/maleicanhydride": 408,
"/coalchem/256": 256,
"/coalchem/coalchem/deepprocessingofcoaltar": 479,
"/coalchem/coalchem/coalpitch": 411,
"/coalchem/coalchem/crudenaphthalene": 412,
"/coalchem/414": 414,
"/coalchem/547": 547,
"/coalchem/coalchem/phthalicanhydride": 240,
"/coalchem/coalchem/waterreducer": 413,
"/coalchem/coalchem/carbolineum": 415,
"/coalchem/coalchem/carbonblack": 420,
"/coalchem/coalchem/washoil": 416,
"/coalchem/417": 417,
"/coalchem/418": 418,
"/coalchem/584": 584,
"/coalchem/583": 583,
"/coalchem/coalchem/methanolanddownstream": 419,
"/coalchem/coalchem/methanol": 251,
"/coalchem/coalchem/HCHO": 342,
"/coalchem/coalchem/DME": 520,
"/coalchem/594": 594,
"/coalchem/coalchem/carrene": 380,
"/coalchem/252": 252,
"/coalchem/coalchem/coalchem_trichlormethane": 253,
"/coalchem/2888": 2888,
"/coalchem/4576": 4576,
"/coalchem/4577": 4577,
"/fert": 107,
"/fert/fert/sulfur": 198,
"/fert/3850": 3850,
"/fert/fert/sulphuricacid": 186,
"/fert/fert/Titanium": 508,
"/fert/fert/nitrogenousfertilizer": 463,
"/fert/fert/urea": 188,
"/fert/668": 668,
"/fert/fert/syntheticammonia": 194,
"/fert/fert/ammoniumchloride": 195,
"/fert/fert/ammoniumsulphate": 191,
"/fert/fert_Melamine": 425,
"/fert/669": 669,
"/fert/254": 254,
"/fert/fert/phosphatefertilizer": 464,
"/fert/fert/ammoniumphosphate": 187,
"/fert/fert/diammoniumphosphate": 189,
"/fert/427": 427,
"/fert/428": 428,
"/fert/fert/compoundfertilizer": 192,
"/fert/fert/potashfertilizer": 462,
"/fert/fert/potassiumchloride": 193,
"/fert/fert/potassiumsulphate": 190,
"/fert/667": 667,
"/fert/fert/phosphorouschemicalindustry": 461,
"/fert/fert/yellowphosphorus": 434,
"/fert/fert/phosphate": 433,
"/fert/fert/phosphaterock": 432,
"/fert/fert/phosphateacid": 619,
"/fert/fert/p_intermediates": 3570,
"/fert/fert/Pesticides": 449,
"/fert/664": 664,
"/fert/665": 665,
"/fert/666": 666,
"/fert/4485": 4485,
"/fert/4486": 4486,
"/fert/fert/bromine": 680,
"/coating": 108,
"/coating/coating/Resinandemulsion": 313,
"/coating/coating/Acrylicemulsion": 222,
"/coating/223": 223,
"/coating/coating/epoxyresin": 439,
"/coating/coating/petroleumresin": 218,
"/coating/coating/alcoholether": 315,
"/coating/686": 686,
"/coating/687": 687,
"/coating/688": 688,
"/coating/689": 689,
"/coating/4654": 4654,
"/coating/coating/coating_acrylate": 4509,
"/coating/coating/coating_acroleicacid": 4510,
"/coating/4511": 4511,
"/coating/4512": 4512,
"/coating/4513": 4513,
"/coating/4514": 4514,
"/coating/coating/coating_mma": 4515,
"/coating/4516": 4516,
"/coating/4517": 4517,
"/coating/4518": 4518,
"/coating/coating/solvent": 314,
"/coating/coating/toluene": 437,
"/coating/coating/xylene": 150,
"/coating/coating/butylalcohol": 267,
"/coating/coating/solventoil": 367,
"/coating/coating/butylacetate": 525,
"/coating/coating/acetone": 286,
"/coating/coating/butanone": 344,
"/coating/coating/mibk": 349,
"/coating/Coating/glycol": 518,
"/coating/coating/PG": 177,
"/coating/dmc": 176,
"/coating/coating/coating_aceticether": 4417,
"/ca": 109,
"/ca/chlor-alkali/rawmaterial": 490,
"/ca/chlor-alkali/calciumcarbide": 387,
"/ca/chlor-alkali/crudesalt": 388,
"/ca/chlor-alkali/alkaliacid": 491,
"/ca/chlor-alkali/causticsoda": 383,
"/ca/chlor-alkali/liquidchlorine": 385,
"/ca/chlor-alkali/hydrochloricacid": 386,
"/ca/chlor-alkali/sodaash": 384,
"/ca/chlor-alkali/glass": 113,
"/ca/chlor-alkali/nitricacid": 564,
"/ca/chlor-alkali/hydrogenperoxide": 655,
"/ca/chlor-alkali/CausticSoda": 3511,
"/ca/chlor-alkali/fiberglas": 4386,
"/ca/chlor-alkali/pvczone": 492,
"/ca/chlor-alkali/EDC": 382,
"/ca/chlor-alkali/pvc": 381,
"/ca/chlor-alkali/vcm": 530,
"/ca/chlor-alkali/PVCPaste": 3792,
"/ca/chlor-alkali/calcium-carbide": 3902,
"/ca/chlor-alkali/PVCskelp": 4223,
"/ca/chlor-alkali/PVCsection": 4224,
"/ca/chlor-alkali/PVCgloves": 4225,
"/pu": 110,
"/pu/polyurethane/polyether": 504,
"/pu/polyurethane/tdi": 392,
"/pu/polyurethane/propyleneoxide": 116,
"/pu/polyurethane/softfoampolyether": 154,
"/pu/polyurethane/poppolyether": 556,
"/pu/polyurethane/highpolyether": 557,
"/pu/polyurethane/elastomerpolyether": 558,
"/pu/polyurethane/hardbubble": 548,
"/pu/polyurethane/mdi": 117,
"/pu/546": 546,
"/pu/polyurethane/mdi50": 634,
"/pu/4589": 4589,
"/pu/polyurethane/rigidfoampolyether": 155,
"/pu/635": 635,
"/pu/polyurethane/EO": 641,
"/pu/polyurethane/curing_agent": 4078,
"/pu/polyurethane/l_75": 4083,
"/pu/polyurethane/gutdi": 4088,
"/pu/polyurethane/polyesterresin/gutmp": 4089,
"/pu/4100": 4100,
"/pu/4101": 4101,
"/pu/polyurethane/adipicacidanddownstream": 506,
"/pu/polyurethane/adipicacid": 391,
"/pu/polyurethane/puremdi": 390,
"/pu/polyurethane/dmf": 394,
"/pu/polyurethane/butanone": 389,
"/pu/592": 592,
"/pu/636": 636,
"/pu/polyurethane/BDOanddownstream": 507,
"/pu/polyurethane/bdo": 393,
"/pu/polyurethane/THF": 499,
"/pu/500": 500,
"/pu/polyurethane/pbt": 637,
"/pu/polyurethane/TPUarea": 638,
"/pu/polyurethane/TPU": 640,
"/pu/polyurethane/Polyesterpolyol": 639,
"/pu/polyurethane/polyesterresin": 2943,
"/pu/polyurethane/polyesterresin_NPG": 2944,
"/pu/polyurethane/polyesterresin_TMP": 2945,
"/pu/2946": 2946,
"/pu/polyurethane/isobutyl_alcohol": 3887,
"/pu/polyurethane/texanol": 4068,
"/paper": 2957,
"/paper/paper/wastepaper": 2958,
"/paper/paper/pulp": 2959,
"/paper/paper/packing_paper": 3670,
"/paper/corrugated_boxpapaer": 3990,
"/paper/paper_whiteboard": 3991,
"/paper/3992": 3992,
"/paper/3993": 3993,
"/paper/paper/living_paper": 3845,
"/paper/paper/cultural_paper": 3981,
"/material": 3575,
"/material/new_material/hydrogen_energy": 3855,
"/material/new_material/mate_hydrogen": 4326,
"/material/new_material/fuelcell": 4327,
"/material/new_material/hydrogen_station": 4328,
"/material/new_material/lithiumbattery": 3576,
"/material/new_material/basic_lithium_salt": 3577,
"/material/new_material/cathodematerial": 3578,
"/material/new_material/negativematerials": 3579,
"/material/new_material/electrolyte": 3580,
"/material/new_material/diaphragm": 3688,
"/material/new_material/cobalt": 4040,
"/material/new_material/Industrialgas": 3581,
"/material/new_material/oxygen": 3582,
"/material/new_material/liquidnitrogen": 3583,
"/material/new_material/argon": 3584,
"/material/new_material/CO2": 3585,
"/material/new_material/material_raregas": 3587,
"/material/new_material/specialty_gas": 4014,
"/material/new_material/fluorinechemical": 3588,
"/material/new_material/fluorinechemical_material": 3589,
"/material/new_material/cryogenl": 3590,
"/material/new_material/fluorinatedsalt": 3591,
"/material/new_material/ptee": 3592,
"/material/new_material/hydrofluoricacid": 4668,
"/material/new_material/photovoltaic": 4381
};
//#endregion
//#region lib/routes/oilchem/index.ts
const route = {
path: "/:type?/:category?/:subCategory?",
categories: ["new-media"],
example: "/oilchem/list/140/18263",
parameters: {
type: "类别 id,可在对应类别页中找到,默认为首页",
category: "分类 id,可在对应分类页中找到",
subCategory: "子分类 id,可在对应分类页中找到"
},
features: {
requireConfig: false,
requirePuppeteer: false,
antiCrawler: false,
supportBT: false,
supportPodcast: false,
supportScihub: false
},
name: "资讯",
maintainers: ["nczitzk"],
handler,
description: `以下是几个例子:
[**化工**](https://chem.oilchem.net) \`https://chem.oilchem.net\` 中,类别 id 为 \`chem\`,分类 id 为空,子分类 id 为空,对应路由即为 [\`/oilchem/chem\`](https://rsshub.app/oilchem/list/140/18263)
[**甲醇**](https://chem.oilchem.net/chemical/methanol.shtml) 的相关资讯有两个页面入口:其一 \`https://chem.oilchem.net/chemical/methanol.shtml\` 中,类别 id 为 \`chem\`,分类 id 为 \`chemical\`,子分类 id 为 \`methanol\`,对应路由即为 [\`/oilchem/chem/chemical/methanol\`](https://rsshub.app/oilchem/chem/chemical/methanol) 或其二 \`https://list.oilchem.net/140\` 中,类别 id 为 \`list\`,分类 id 为 \`140\`,子分类 id 为空,对应路由即为 [\`/oilchem/list/140\`](https://rsshub.app/oilchem/list/140);
[**甲醇热点聚焦**](https://list.oilchem.net/140/18263) \`https://list.oilchem.net/140/18263\` 中,类别 id 为 \`list\`,分类 id 为 \`140\`,子分类 id 为 \`18263\`,对应路由即为 [\`/oilchem/list/140/18263\`](https://rsshub.app/oilchem/list/140/18263)`
};
async function handler(ctx) {
const type = ctx.req.param("type") ?? "";
const category = ctx.req.param("category") ?? "";
const subCategory = ctx.req.param("subCategory") ?? "";
const route$1 = category === "" ? "" : `/${category}${subCategory === "" ? "" : `/${subCategory}`}`;
const currentUrl = `${`https://${type === "" ? "www" : "list"}.oilchem.net`}${type === "" ? "/1/" : type === "list" ? route$1 : `/${routes_default[`/${type}${route$1}`]}`}`;
const $ = load((await got_default({
method: "get",
url: currentUrl
})).data);
const list = $(".list ul ul li a").toArray().map((item) => {
item = $(item);
return {
title: item.text(),
link: item.attr("href")
};
});
const items = await Promise.all(list.map((item) => cache_default.tryGet(item.link, async () => {
const content = load((await got_default({
method: "get",
url: item.link
})).data);
item.description = content("#content").html();
item.pubDate = timezone(parseDate(content(".xq-head").find("span").text().match(/发布时间:\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}/)[0], "YYYY-MM-DD HH:mm"), 8);
return item;
})));
return {
title: `${$(".hdbox h3").text()} - 隆众资讯`,
link: currentUrl,
item: items
};
}
//#endregion
export { route };