You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace PhilExampleCrawler.Core
|
|
|
|
|
{
|
|
|
|
|
internal static class Config
|
|
|
|
|
{
|
|
|
|
|
internal const string EXAMPLE_SEARCH_URL = "https://page-to-be-crawled.example/foo-bar?" +
|
|
|
|
|
"keywords={0}" +
|
|
|
|
|
"&locationStr={1}" +
|
|
|
|
|
"&categoryId={2}" +
|
|
|
|
|
"&radius={3}" +
|
|
|
|
|
"&maxPrice={4}" +
|
|
|
|
|
"&minPrice={5}" +
|
|
|
|
|
"&posterType={6}";
|
|
|
|
|
|
|
|
|
|
internal static readonly int[] SearchRadii = new[] { 0, 5, 10, 20, 30, 50, 100, 150, 200 };
|
|
|
|
|
}
|
|
|
|
|
}
|